chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] add udev logging to info log
[elogind.git]
/
logging.c
diff --git
a/logging.c
b/logging.c
index 4815f39fdc377d261b92b212a4122398b4b1b780..cf1da5e0404681d3919743d22c0f322fed98d910 100644
(file)
--- a/
logging.c
+++ b/
logging.c
@@
-25,9
+25,9
@@
#include <sys/types.h>
#include <unistd.h>
#include <syslog.h>
-#include "udev.h"
-#ifdef DEBUG
+#include "logging.h"
+
static int logging_init = 0;
static unsigned char udev_logname[42];
@@
-54,5
+54,3
@@
int log_message(int level, const char *format, ...)
va_end(args);
return 1;
}
-
-#endif