11451 zonecfg: NULL pointer errors

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

tsoome
illumos-gate
11451
708e934...
general
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


  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
citrus
  1. 
      
  2. usr/src/cmd/zonecfg/zonecfg.c (Diff revision 1)
     
     

    Should actually be -1

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

Status: Closed (submitted)

Loading...