Actions
Bug #11450
closedzoneadm: NULL pointer errors
Start date:
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
Build errors with NULL pointer:
zoneadm.c: In function 'cleanup_zonepath': zoneadm.c:3877:16: error: comparison between pointer and integer [-Werror] if (*zonepath == NULL || strcmp(zonepath, "/") == 0) { ^~ cc1: all warnings being treated as errors
Updated by Electric Monk almost 3 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit 4535e8bf8bd491fa8e4cdbe5019f9f59988c2b3e
commit 4535e8bf8bd491fa8e4cdbe5019f9f59988c2b3e Author: Toomas Soome <tsoome@me.com> Date: 2019-07-31T06:38:32.000Z 11450 zoneadm: NULL pointer errors Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
Actions