8328 keyserv: sizeof on array function parameter

Review Request #564 - Created June 4, 2017 and submitted

Information
Toomas Soome
illumos-gate
8328
0e9c1f3...
Reviewers
general
keyserv.c: In function '__key_get_conv_2_svc':
keyserv.c:759:11: error: 'sizeof' on array function parameter 'arg' will return size of 'char *' [-Werror=sizeof-array-argument]
    sizeof (arg), arg);
           ^
keyserv.c:753:9: note: declared here
  keybuf arg;
         ^~~
cc1: all warnings being treated as errors

  
Marcel Telka
Toomas Soome
Marcel Telka
Robert Mustacchi
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...