chiark / gitweb /
[PATCH] add udev_log to the documentation.
[elogind.git] / udev.c
diff --git a/udev.c b/udev.c
index 9f10cc212539466e5e03edc05016976d90069e24..ce6d6ce9df22a7b2cb9ab3bb84133d25906d2d18 100644 (file)
--- a/udev.c
+++ b/udev.c
@@ -164,7 +164,7 @@ static int udev_hotplug(int argc, char **argv)
        namedev_init();
 
        if (strcmp(action, "add") == 0)
-               retval = udev_add_device(devpath, subsystem);
+               retval = udev_add_device(devpath, subsystem, 0);
 
        else if (strcmp(action, "remove") == 0)
                retval = udev_remove_device(devpath, subsystem);