summaryrefslogtreecommitdiff
path: root/udev/lib/libudev-monitor.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-30 16:16:29 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-30 16:16:29 +0200
commite0083e8e69856f1b4e1e643cebb08906775cca8a (patch)
treede8d63b3a1e8a84a03e57f92e6cb6a7f20a0af0a /udev/lib/libudev-monitor.c
parentd98bffa802b214452d34109967423f1d60df89af (diff)
libudev: device_init() -> device_new()
Diffstat (limited to 'udev/lib/libudev-monitor.c')
-rw-r--r--udev/lib/libudev-monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/lib/libudev-monitor.c b/udev/lib/libudev-monitor.c
index e72b206623..751f19ae92 100644
--- a/udev/lib/libudev-monitor.c
+++ b/udev/lib/libudev-monitor.c
@@ -284,7 +284,7 @@ struct udev_device *udev_monitor_receive_device(struct udev_monitor *udev_monito
return NULL;
}
- udev_device = device_init(udev_monitor->udev);
+ udev_device = device_new(udev_monitor->udev);
if (udev_device == NULL) {
return NULL;
}