summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extras/path_id/path_id.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/extras/path_id/path_id.c b/extras/path_id/path_id.c
index 4b57dec0d3..53720e0fe2 100644
--- a/extras/path_id/path_id.c
+++ b/extras/path_id/path_id.c
@@ -3,6 +3,8 @@
*
* Copyright (C) 2009 Kay Sievers <kay.sievers@vrfy.org>
*
+ * Log based on Hannes Reinecke's shell script.
+ *
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
@@ -31,7 +33,7 @@
#include "libudev.h"
#include "libudev-private.h"
-int debug;
+static int debug;
static void log_fn(struct udev *udev, int priority,
const char *file, int line, const char *fn,