11320 diskinfo: NULL pointer errors

Review Request #2058 — Created July 4, 2019 and submitted

tsoome
illumos-gate
11320
cf81ba5...
general
diskinfo.c: In function 'enumerate_disks':
diskinfo.c:256:40: error: comparison between pointer and integer [-Werror]
  for (i = 0; media != NULL && media[i] != NULL; i++) {
                                        ^~
cc1: all warnings being treated as errors


wiedi
  1. Ship It!
  2. 
      
andy_js
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...