chiark / gitweb /
use global udev_log variable instead of parameter in run_program
[elogind.git] / udevstart.c
index 6af5860e27e99cd1f3e641a396b148cf3f80d82c..1e67a0615a9f79a5fd0a4657bc04e0233fce9bb2 100644 (file)
@@ -160,7 +160,7 @@ static int add_device(const char *devpath)
 
                                strlcpy(program, name_loop->name, sizeof(program));
                                udev_rules_apply_format(udev, program, sizeof(program));
-                               run_program(program, udev->dev->subsystem, NULL, 0, NULL, (udev_log_priority >= LOG_INFO));
+                               run_program(program, udev->dev->subsystem, NULL, 0, NULL);
                        }
                }
        }