Address compiler warning:
nfsumount.c: In function nfsumount:
nfsumount.c:347: warning: comparison between signed and unsigned
The result type of pointer arithmetic and the return type of strlen(3)
are both size_t.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
char *opt = hasmntopt(&mc->m, "user");
struct passwd *pw;
char *comma;
char *opt = hasmntopt(&mc->m, "user");
struct passwd *pw;
char *comma;
if (!opt)
goto only_root;
if (opt[4] != '=')
if (!opt)
goto only_root;
if (opt[4] != '=')