11339 getent: NULL pointer errors

Review Request #2075 - Created July 6, 2019 and submitted

Information
Toomas Soome
illumos-gate
11339
3259003...
Reviewers
general
dogetserv.c: In function 'dogetserv':
dogetserv.c:86:26: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
    key[sizeof (key) - 1] = NULL;
                          ^
dogetserv.c:89:9: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
     *cp = NULL;
         ^
cc1: all warnings being treated as errors

  
Andrew Stormont
Sebastian Wiedenroth
Garrett D'Amore
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...