public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] exportfs: Exit with correct value when an error occurs
@ 2014-01-17 16:23 Steve Dickson
  0 siblings, 0 replies; only message in thread
From: Steve Dickson @ 2014-01-17 16:23 UTC (permalink / raw)
  To: Linux NFS Mailing list

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 support/nfs/exports.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/support/nfs/exports.c b/support/nfs/exports.c
index d18667f..819d6c4 100644
--- a/support/nfs/exports.c
+++ b/support/nfs/exports.c
@@ -366,7 +366,7 @@ mkexportent(char *hname, char *path, char *options)
 	ee.e_hostname = xstrdup(hname);
 
 	if (strlen(path) >= sizeof(ee.e_path)) {
-		xlog(L_WARNING, "path name %s too long", path);
+		xlog(L_ERROR, "path name %s too long", path);
 		return NULL;
 	}
 	strncpy(ee.e_path, path, sizeof (ee.e_path));
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-01-17 16:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-17 16:23 [PATCH] exportfs: Exit with correct value when an error occurs Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox