From 39f24db770b55348f3056871429d0af6ed2405ec Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Wed, 17 Sep 2014 20:10:42 -0400 Subject: libudev: util - drop util_delete_path() Use rmdir_parents() from src/shared instead. Signed-off-by: Anthony G. Basile --- test/test-udev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/test-udev.c b/test/test-udev.c index 0d04078542..446849e4b0 100644 --- a/test/test-udev.c +++ b/test/test-udev.c @@ -160,7 +160,7 @@ int main(int argc, char *argv[]) { mknod(udev_device_get_devnode(dev), mode, udev_device_get_devnum(dev)); } else { unlink(udev_device_get_devnode(dev)); - util_delete_path(udev, udev_device_get_devnode(dev)); + rmdir_parents(udev_device_get_devnode(dev), "/"); } } -- cgit v1.2.3-54-g00ecf