summaryrefslogtreecommitdiff
path: root/udevd.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-07-14 20:43:43 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-07-14 20:43:43 +0200
commitfb819f5554530dd136d50aa40438e9dbeeceac01 (patch)
treec8a50c6c58ab6010dc63af0035e552119a5e8f28 /udevd.c
parent4110664d4f25f203b7d76ee56e5e23220b04eb69 (diff)
use global udev_log variable instead of parameter in run_program
Diffstat (limited to 'udevd.c')
-rw-r--r--udevd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/udevd.c b/udevd.c
index afefb91483..5ed8e38c98 100644
--- a/udevd.c
+++ b/udevd.c
@@ -147,8 +147,7 @@ static int udev_event_process(struct udevd_uevent_msg *msg)
strlcpy(program, name_loop->name, sizeof(program));
udev_rules_apply_format(udev, program, sizeof(program));
- if (run_program(program, udev->dev->subsystem, NULL, 0, NULL,
- (udev_log_priority >= LOG_INFO)) != 0)
+ if (run_program(program, udev->dev->subsystem, NULL, 0, NULL) != 0)
if (!name_loop->ignore_error)
retval = -1;
}