summaryrefslogtreecommitdiff
path: root/udevd.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2005-11-17 18:53:53 +0100
committerKay Sievers <kay.sievers@suse.de>2005-11-17 18:53:53 +0100
commit8813e55c74d8224a361f62fc8c9f01591dfb58d3 (patch)
tree14710b5f4495f38ca444c6a647be22cabe092422 /udevd.c
parent4389ec08fb177f62fc02eb2217fed126aef3a7a3 (diff)
udevd: add a missing return
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udevd.c')
-rw-r--r--udevd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/udevd.c b/udevd.c
index 7978bdb08a..446db8fd33 100644
--- a/udevd.c
+++ b/udevd.c
@@ -190,6 +190,7 @@ static void export_event_state(struct uevent_msg *msg, enum event_state state)
if (loop_msg->devpath && strcmp(loop_msg->devpath, msg->devpath) == 0)
return;
unlink(filename);
+ return;
case EVENT_FAILED:
create_path(filename_failed);
rename(filename, filename_failed);