Message ID | 1529496770.7473.11.camel@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/support/nfs/conffile.c b/support/nfs/conffile.c index 51b85f2..c7c3a62 100644 --- a/support/nfs/conffile.c +++ b/support/nfs/conffile.c @@ -495,7 +495,7 @@ conf_readfile(const char *path) { struct stat sb; if (!path) { - xlog_err("conf_readfile: no path given"); + xlog(L_ERROR, "conf_readfile: no path given"); return NULL; }
Use of xlog_err is immediately fatal, switch to using xlog(L_ERROR, ...) instead so that the error handling and cleanup mechanisms can operate properly Signed-off-by: Justin Mitchell <jumitche@redhat.com> --- support/nfs/conffile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)