summaryrefslogtreecommitdiff
path: root/udev/udevd.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-01 20:59:09 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-01 20:59:09 +0200
commit44aff4cd6d74d230e4a97f8d59f780472b7cad6e (patch)
tree893df31fbb0c2005226435a21aa7041e19d75e6e /udev/udevd.c
parent0d1c29c3d143232dfedf0881524bb2ef803c3067 (diff)
udev_device_init() remove statically allocated device support
Diffstat (limited to 'udev/udevd.c')
-rw-r--r--udev/udevd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udevd.c b/udev/udevd.c
index 22d261fccb..654118e5a9 100644
--- a/udev/udevd.c
+++ b/udev/udevd.c
@@ -126,7 +126,7 @@ static int udev_event_process(struct udevd_uevent_msg *msg)
for (i = 0; msg->envp[i]; i++)
putenv(msg->envp[i]);
- udev = udev_device_init(NULL);
+ udev = udev_device_init();
if (udev == NULL)
return -1;
strlcpy(udev->action, msg->action, sizeof(udev->action));