summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--udevsend.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/udevsend.c b/udevsend.c
index fd61cb2a2f..d3c74dd46a 100644
--- a/udevsend.c
+++ b/udevsend.c
@@ -125,7 +125,9 @@ int main(int argc, char* argv[])
int sock;
struct sockaddr_un saddr;
+#ifdef DEBUG
init_logging("udevsend");
+#endif
subsystem = argv[1];
if (subsystem == NULL) {