summaryrefslogtreecommitdiff
path: root/udevcontrol.c
diff options
context:
space:
mode:
Diffstat (limited to 'udevcontrol.c')
-rw-r--r--udevcontrol.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/udevcontrol.c b/udevcontrol.c
index f16f6a125a..6651e9761e 100644
--- a/udevcontrol.c
+++ b/udevcontrol.c
@@ -39,14 +39,14 @@
/* global variables */
static int sock = -1;
-static int log = 0;
+static int udev_log = 0;
#ifdef USE_LOG
void log_message (int priority, const char *format, ...)
{
va_list args;
- if (priority > log)
+ if (priority > udev_log)
return;
va_start(args, format);
@@ -69,7 +69,7 @@ int main(int argc, char *argv[], char *envp[])
env = getenv("UDEV_LOG");
if (env)
- log = log_priority(env);
+ udev_log = log_priority(env);
logging_init("udevcontrol");
dbg("version %s", UDEV_VERSION);