summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-09-17 20:10:42 -0400
committerAnthony G. Basile <blueness@gentoo.org>2014-09-17 20:10:42 -0400
commit39f24db770b55348f3056871429d0af6ed2405ec (patch)
tree60ac9cca83637842fbf094418b1426dcc41d9226 /test
parent5216331b7d3b14362c2ddc4af6520011120475e4 (diff)
libudev: util - drop util_delete_path()
Use rmdir_parents() from src/shared instead. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'test')
-rw-r--r--test/test-udev.c2
1 files changed, 1 insertions, 1 deletions
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), "/");
}
}