]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - support/nfs/xlog.c
Imported Debian patch 1.0.8-6
[nfs-utils.git] / support / nfs / xlog.c
index e1e4c3f0bf412817ea6e9ca633266b949c72f7ca..1bbfd1949fc06dc72058b5ab1c106ff7f4fffab4 100644 (file)
@@ -15,7 +15,9 @@
  *             as is, with no warranty expressed or implied.
  */
 
-#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include <unistd.h>
 #include <signal.h>
@@ -161,7 +163,7 @@ xlog(int kind, const char *fmt, ...)
                        break;
                default:
                        if (!log_stderr)
-                               syslog(LOG_DEBUG, "%s", buff);
+                               syslog(LOG_INFO, "%s", buff);
                        break;
                }
        }