]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
exportfs: Use xlog() for error reporting
authorChuck Lever <chuck.lever@oracle.com>
Tue, 24 Aug 2010 11:19:34 +0000 (07:19 -0400)
committerSteve Dickson <steved@redhat.com>
Tue, 24 Aug 2010 11:22:52 +0000 (07:22 -0400)
exportfs already invokes xlog_open() because libexport.a uses xlog()
exclusively for error reporting and debugging messages.  If we can
use xlog() throughout exportfs itself, that enables xlog debugging
messages everywhere in the code path.

In addition, use xlog() instead of fprintf(stderr) for reporting
errors in exportfs.c, to be consistent with libexport.a and other
components of nfs-utils.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>

No differences found