diff options
Diffstat (limited to 'usr/src/lib/libnsl/rpc/clnt_simple.c')
-rw-r--r-- | usr/src/lib/libnsl/rpc/clnt_simple.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/src/lib/libnsl/rpc/clnt_simple.c b/usr/src/lib/libnsl/rpc/clnt_simple.c index b33e1bb85b..78e88fce29 100644 --- a/usr/src/lib/libnsl/rpc/clnt_simple.c +++ b/usr/src/lib/libnsl/rpc/clnt_simple.c @@ -32,8 +32,6 @@ * California. */ -#pragma ident "%Z%%M% %I% %E% SMI" - /* * Simplified front end to client rpc. */ @@ -115,7 +113,7 @@ rpc_call(const char *host, const rpcprog_t prognum, const rpcvers_t versnum, return (rpc_createerr.cf_stat); } - if ((nettype == NULL) || (nettype[0] == NULL)) + if ((nettype == NULL) || (nettype[0] == '\0')) nettype = "netpath"; if (!(rcp->valid && rcp->pid == getpid() && |