chiark / gitweb /
udevstart: fix NAME="" which prevents RUN from being executed
authorKay Sievers <kay.sievers@suse.de>
Thu, 26 Jan 2006 01:16:58 +0000 (02:16 +0100)
committerKay Sievers <kay.sievers@suse.de>
Thu, 26 Jan 2006 01:16:58 +0000 (02:16 +0100)
Thanks to Olivier Blin <oblin@mandriva.com> for finding this.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
udevstart.c

index 8f8342f..d9d6a7b 100644 (file)
@@ -108,7 +108,7 @@ static int add_device(const char *devpath)
 {
        struct sysfs_device *dev;
        struct udevice *udev;
-       int retval;
+       int retval = 0;
 
        /* clear and set environment for next event */
        clearenv();