aboutsummaryrefslogtreecommitdiff
path: root/sunrpc
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/rpc_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sunrpc/rpc_main.c b/sunrpc/rpc_main.c
index 7d64e1b..a7e1807 100644
--- a/sunrpc/rpc_main.c
+++ b/sunrpc/rpc_main.c
@@ -1016,8 +1016,7 @@ parseargs(int argc, const char *argv[], struct commandline *cmd)
size_t len = strlen (argv[i]);
pathbuf = malloc (len + 5);
if (pathbuf == NULL) {
- f_print(stderr, "%s\n",
- strerror (errno));
+ perror(cmdname);
crash();
}
stpcpy (stpcpy (pathbuf,