summaryrefslogtreecommitdiff
path: root/udevcontrol.c
diff options
context:
space:
mode:
authorKay Sievers <kay@pim.off.vrfy.org>2005-10-27 20:32:07 +0200
committerKay Sievers <kay@pim.off.vrfy.org>2005-10-27 20:32:07 +0200
commit916c5e4725ef4558b752c6464deef6492c8ac31a (patch)
tree1a6a9ef2c3ac07cd5d355246ca66035663c65425 /udevcontrol.c
parentcf686d37b42ed49df9209d6630fd3292c54c6bde (diff)
fix the new warnings I asked for
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
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);