11339 getent: NULL pointer errors

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

tsoome
illumos-gate
11339
3259003...
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


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

Status: Closed (submitted)

Loading...