summaryrefslogtreecommitdiff
path: root/udevinitsend.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 /udevinitsend.c
parentcf686d37b42ed49df9209d6630fd3292c54c6bde (diff)
fix the new warnings I asked for
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udevinitsend.c')
-rw-r--r--udevinitsend.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/udevinitsend.c b/udevinitsend.c
index ea05734a00..4f50da8f68 100644
--- a/udevinitsend.c
+++ b/udevinitsend.c
@@ -42,14 +42,14 @@
#include "udev_utils.h"
#include "logging.h"
-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);
@@ -174,7 +174,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("udevinitsend");
dbg("version %s", UDEV_VERSION);