summaryrefslogtreecommitdiff
path: root/udev/lib
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/lib
parent0d1c29c3d143232dfedf0881524bb2ef803c3067 (diff)
udev_device_init() remove statically allocated device support
Diffstat (limited to 'udev/lib')
-rw-r--r--udev/lib/libudev-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/lib/libudev-device.c b/udev/lib/libudev-device.c
index c4d65e9c49..629cadbc47 100644
--- a/udev/lib/libudev-device.c
+++ b/udev/lib/libudev-device.c
@@ -101,7 +101,7 @@ struct udev_device *udev_device_new_from_devpath(struct udev *udev, const char *
if (udev_device == NULL)
return NULL;
- udevice = udev_device_init(NULL);
+ udevice = udev_device_init();
if (udevice == NULL) {
free(udev_device);
return NULL;