diff options
author | Tom Gundersen <teg@jklm.no> | 2014-09-15 14:20:32 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-09-16 12:12:56 +0200 |
commit | 37d522746b67fda0d52111364d81358ce560bcf7 (patch) | |
tree | b9666d700055dfb449527b622555eda1debd0484 /src/test | |
parent | 23bf8dd7d5ce1e2a52f28d5d242109ddb668b3fb (diff) |
libudev: util - drop util_delete_path()
Use rmdir_parents() from src/shared instead.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test-udev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-udev.c b/src/test/test-udev.c index f085262b01..f368c3f333 100644 --- a/src/test/test-udev.c +++ b/src/test/test-udev.c @@ -149,7 +149,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), "/"); } } |