summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-01-26 02:16:58 +0100
committerKay Sievers <kay.sievers@suse.de>2006-01-26 02:16:58 +0100
commit4cfdeaf3bf82b50fb6af123511d2f94078fe7df2 (patch)
tree7a0a4d97c4d10644f70e90d489f96833f8f2d602
parent1a72d06f7be696cf6f6753fdc01c0ff8171240ea (diff)
udevstart: fix NAME="" which prevents RUN from being executed
Thanks to Olivier Blin <oblin@mandriva.com> for finding this. Signed-off-by: Kay Sievers <kay.sievers@suse.de>
-rw-r--r--udevstart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udevstart.c b/udevstart.c
index 8f8342ff48..d9d6a7b521 100644
--- a/udevstart.c
+++ b/udevstart.c
@@ -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();