11320 diskinfo: NULL pointer errors

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

Information
Toomas Soome
illumos-gate
11320
cf81ba5...
Reviewers
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

  
Sebastian Wiedenroth
Andrew Stormont
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...