Project

General

Profile

Bug #11451

zonecfg: NULL pointer errors

Added by Toomas Soome 3 months ago. Updated 3 months ago.

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

100%

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

History

#1

Updated by Electric Monk 3 months ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Closed

git commit eaf5a31c5f4fa067aaddcf5b08a0cd96c60bb9a4

commit  eaf5a31c5f4fa067aaddcf5b08a0cd96c60bb9a4
Author: Toomas Soome <tsoome@me.com>
Date:   2019-07-31T06:42:53.000Z

    11451 zonecfg: NULL pointer errors
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF