summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-10-11 13:25:44 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-10-11 13:25:44 +0200
commit54da62909f1a4c91d7f603b504cf170ebb57220e (patch)
treed486ff16454722cf0ef5940a03e02350b38e3a02 /udev
parentd964a4bfde57ad1b05d105edd5d078e1aac45da6 (diff)
udevd: add missing braces
David: uh, don't you need curly braces in the udevd.c part at the bottom?
Diffstat (limited to 'udev')
-rw-r--r--udev/udevd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/udev/udevd.c b/udev/udevd.c
index 60edea98e1..05d4b2d66b 100644
--- a/udev/udevd.c
+++ b/udev/udevd.c
@@ -1648,10 +1648,11 @@ int main(int argc, char *argv[])
struct udev_device *dev;
dev = udev_monitor_receive_device(monitor);
- if (dev != NULL)
+ if (dev != NULL) {
udev_device_set_usec_initialized(dev, now_usec());
if (event_queue_insert(dev) < 0)
udev_device_unref(dev);
+ }
}
/* start new events */