Project

General

Profile

Actions

Bug #11450

closed

zoneadm: NULL pointer errors

Added by Toomas Soome about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

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

Actions

Also available in: Atom PDF