From 1767d5f5c9c26aa33b602a33ece83c2bfe55259f Mon Sep 17 00:00:00 2001 From: Chuck Lever Date: Tue, 14 Jul 2009 16:51:27 -0400 Subject: [PATCH 1/1] mount.nfs: Fix some nfs_error() nits in network.c Fix a couple of nfs_error() call sites in utils/mount/network.c. Signed-off-by: Chuck Lever Signed-off-by: Steve Dickson --- utils/mount/network.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/utils/mount/network.c b/utils/mount/network.c index ad6c146..6e0a72a 100644 --- a/utils/mount/network.c +++ b/utils/mount/network.c @@ -783,8 +783,8 @@ int start_statd(void) execl(START_STATD, START_STATD, NULL); exit(1); case -1: /* error */ - nfs_error(_("fork failed: %s"), - strerror(errno)); + nfs_error(_("%s: fork failed: %s"), + progname, strerror(errno)); break; default: /* parent */ waitpid(pid, NULL,0); @@ -1159,7 +1159,8 @@ int nfs_callback_address(const struct sockaddr *sap, const socklen_t salen, out_failed: *buflen = 0; if (verbose) - nfs_error(_("%s: failed to construct callback address")); + nfs_error(_("%s: failed to construct callback address"), + progname); return 0; } -- 2.39.2