11450 zoneadm: NULL pointer errors

Review Request #2168 - Created July 11, 2019 and updated

Information
Toomas Soome
illumos-gate
11450
890ee4b...
Reviewers
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

  
Andy Fiddaman
Ship It!
Loading...