Project

General

Profile

Bug #11451

zonecfg: NULL pointer errors

Added by Toomas Soome 4 days ago.

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

90%

Estimated time:
Difficulty:
Medium
Tags:

Description

Build errors with NULL pointer:

    zonecfg.c: In function 'brand_verify':
    zonecfg.c:5936:24: error: comparison between pointer and integer [-Werror]
      if (mkstemp(xml_file) == NULL)
                            ^~
    cc1: all warnings being treated as errors

Also available in: Atom PDF