From: Jeff Layton Date: Wed, 9 May 2012 16:36:02 +0000 (-0400) Subject: nfsdcld: demote pipe opening error to D_GENERAL X-Git-Tag: nfs-utils-1-2-6~3 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=b6a0ab1dfe85b84ab30a1b656a6bc88b9e025434;p=nfs-utils.git nfsdcld: demote pipe opening error to D_GENERAL It's actually expected that this will fail initially when we start the daemon. Until knfsd has been started, the pipe doesn't exist, and we generally want to start nfsdcld before starting knfsd. Avoid the scary error message by demoting this message to D_GENERAL. Signed-off-by: Jeff Layton Signed-off-by: Steve Dickson --- diff --git a/utils/nfsdcld/nfsdcld.c b/utils/nfsdcld/nfsdcld.c index 2f0b004..c9f0fb9 100644 --- a/utils/nfsdcld/nfsdcld.c +++ b/utils/nfsdcld/nfsdcld.c @@ -89,7 +89,7 @@ cld_pipe_open(struct cld_client *clnt) xlog(D_GENERAL, "%s: opening upcall pipe %s", __func__, pipepath); fd = open(pipepath, O_RDWR, 0); if (fd < 0) { - xlog(L_ERROR, "%s: open of %s failed: %m", __func__, pipepath); + xlog(D_GENERAL, "%s: open of %s failed: %m", __func__, pipepath); return -errno; }