diff options
author | Henrique Martins <linux@martins.cc> | 2014-11-04 15:12:16 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2014-11-04 15:13:37 -0500 |
commit | 076dd803330d93819c6e7862f515a8fa3997a83b (patch) | |
tree | 5dbe24b9537958c8b8d09ae906050691d02a109d /support/export/hostname.c | |
parent | 7afda720e48d774ccc02c7e6b97f05882bba3d06 (diff) | |
download | nfs-utils-076dd803330d93819c6e7862f515a8fa3997a83b.tar.gz nfs-utils-076dd803330d93819c6e7862f515a8fa3997a83b.tar.xz nfs-utils-076dd803330d93819c6e7862f515a8fa3997a83b.zip |
exportfs: changes handling of unresolvable entries
The patch to nfs/exportfs to allow nfsd to start when
there are some, but not all, unresolvable entries in
/etc/exports.
Signed-off-by: Henrique Martins <linux@martins.cc>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/export/hostname.c')
-rw-r--r-- | support/export/hostname.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/support/export/hostname.c b/support/export/hostname.c index d9153e1..169baa5 100644 --- a/support/export/hostname.c +++ b/support/export/hostname.c @@ -177,11 +177,11 @@ host_addrinfo(const char *hostname) case 0: return ai; case EAI_SYSTEM: - xlog(D_GENERAL, "%s: failed to resolve %s: (%d) %m", + xlog(D_PARSE, "%s: failed to resolve %s: (%d) %m", __func__, hostname, errno); break; default: - xlog(D_GENERAL, "%s: failed to resolve %s: %s", + xlog(D_PARSE, "%s: failed to resolve %s: %s", __func__, hostname, gai_strerror(error)); break; } |