diff options
author | Kay Sievers <kay@pim.off.vrfy.org> | 2005-10-27 20:32:07 +0200 |
---|---|---|
committer | Kay Sievers <kay@pim.off.vrfy.org> | 2005-10-27 20:32:07 +0200 |
commit | 916c5e4725ef4558b752c6464deef6492c8ac31a (patch) | |
tree | 1a6a9ef2c3ac07cd5d355246ca66035663c65425 /udeveventrecorder.c | |
parent | cf686d37b42ed49df9209d6630fd3292c54c6bde (diff) |
fix the new warnings I asked for
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udeveventrecorder.c')
-rw-r--r-- | udeveventrecorder.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/udeveventrecorder.c b/udeveventrecorder.c index 9a3c3e197c..8ac344a47e 100644 --- a/udeveventrecorder.c +++ b/udeveventrecorder.c @@ -37,14 +37,14 @@ #define BUFSIZE 12345 #define FNSIZE 123 -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); @@ -67,7 +67,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("udeveventrecorder"); dbg("version %s", UDEV_VERSION); |