summaryrefslogtreecommitdiff
path: root/udevinitsend.c
diff options
context:
space:
mode:
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);