11450 zoneadm: NULL pointer errors

Review Request #2168 — Created July 11, 2019 and submitted

tsoome
illumos-gate
11450
890ee4b...
general
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


citrus
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...