nps: poci/nws_mc.c - avoid compile warning
baggins
baggins at pld-linux.org
Sat Sep 10 00:47:34 CEST 2005
Author: baggins Date: Fri Sep 9 22:47:34 2005 GMT
Module: nps Tag: HEAD
---- Log message:
- avoid compile warning
---- Files affected:
nps/poci:
nws_mc.c (1.2 -> 1.3)
---- Diffs:
================================================================
Index: nps/poci/nws_mc.c
diff -u nps/poci/nws_mc.c:1.2 nps/poci/nws_mc.c:1.3
--- nps/poci/nws_mc.c:1.2 Mon Aug 1 23:24:24 2005
+++ nps/poci/nws_mc.c Sat Sep 10 00:47:29 2005
@@ -65,7 +65,9 @@
FILE *pidFile; //save our process id since we run as a daemon
char errMsg[BUFSIZE];
+#if KERNEL_HAS_MCE
struct stat stat_buf;
+#endif
// prepare to write stuff to syslog, in case there is an error
openlog("NWS_MC", LOG_PERROR, LOG_DAEMON );
================================================================
---- CVS-web:
http://cvs.pld-linux.org/nps/poci/nws_mc.c?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list