]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
tcpwrappers: Use xlog() instead of perror(3) and syslog(2)
authorChuck Lever <chuck.lever@oracle.com>
Fri, 15 Jan 2010 20:14:38 +0000 (15:14 -0500)
committerSteve Dickson <steved@redhat.com>
Sun, 17 Jan 2010 21:44:59 +0000 (16:44 -0500)
Clean up: Replace calls to syslog(2) and perror(3) in from_local.c
with calls to xlog().  The problems displayed by the perror(3) calls
especially should be reported.  Currently they are never seen in the
system log.

As part of a build test, I defined TEST, and found a couple of
problems with main(), which are also addressed in this patch.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>

No differences found