So we can ensure that error output is directed appropriately, use nfs_error() instead of perror() in start_statd(). Signed-off-by: Chuck Lever <chuck.lever@xxxxxxxxxx> --- utils/mount/network.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/utils/mount/network.c b/utils/mount/network.c index 0ba7bdb..2231210 100644 --- a/utils/mount/network.c +++ b/utils/mount/network.c @@ -710,7 +710,8 @@ int start_statd(void) execl(START_STATD, START_STATD, NULL); exit(1); case -1: /* error */ - perror("Fork failed"); + nfs_error(_("fork failed: %s"), + strerror(errno)); break; default: /* parent */ waitpid(pid, NULL,0); -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html