Don't send to syslog from nbd-trdump
authorWouter Verhelst <w@uter.be>
Sun, 29 May 2011 07:56:17 +0000 (09:56 +0200)
committerWouter Verhelst <w@uter.be>
Sun, 29 May 2011 07:56:17 +0000 (09:56 +0200)
- we don't include the necessary headers
- it's less than useful here

nbd-trdump.c

index 82b7688..1185224 100644 (file)
@@ -13,6 +13,8 @@
 #include <stdint.h>
 #include <unistd.h>
 #include "config.h"
 #include <stdint.h>
 #include <unistd.h>
 #include "config.h"
+/* We don't want to do syslog output in this program */
+#undef ISSERVER
 #include "cliserv.h"
 #include "nbd.h"
 
 #include "cliserv.h"
 #include "nbd.h"