From: Chuck Lever Date: Tue, 24 Aug 2010 11:19:34 +0000 (-0400) Subject: exportfs: Use xlog() for error reporting X-Git-Tag: nfs-utils-1-2-3-rc6~29 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=26fd34002585e6a5aa09204b0b01d836fa83dcf3;hp=26fd34002585e6a5aa09204b0b01d836fa83dcf3 exportfs: Use xlog() for error reporting 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 Signed-off-by: Steve Dickson ---