From 4cfdeaf3bf82b50fb6af123511d2f94078fe7df2 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Thu, 26 Jan 2006 02:16:58 +0100 Subject: udevstart: fix NAME="" which prevents RUN from being executed Thanks to Olivier Blin for finding this. Signed-off-by: Kay Sievers --- udevstart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3-54-g00ecf