chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d964a4b
)
udevd: add missing braces
author
Kay Sievers
<kay.sievers@vrfy.org>
Tue, 11 Oct 2011 11:25:44 +0000
(13:25 +0200)
committer
Kay Sievers
<kay.sievers@vrfy.org>
Tue, 11 Oct 2011 11:25:44 +0000
(13:25 +0200)
David: uh, don't you need curly braces in the udevd.c part at the bottom?
udev/udevd.c
patch
|
blob
|
history
diff --git
a/udev/udevd.c
b/udev/udevd.c
index 60edea98e1144774ef5a5145d077aefc9d8c92b9..05d4b2d66bd8a047bc467cb5c69353e0503519b8 100644
(file)
--- 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 */