From 44aff4cd6d74d230e4a97f8d59f780472b7cad6e Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Mon, 1 Sep 2008 20:59:09 +0200 Subject: udev_device_init() remove statically allocated device support --- udev/lib/libudev-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'udev/lib') 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; -- cgit v1.2.3-54-g00ecf