summaryrefslogtreecommitdiff
path: root/src/udev/udev-builtin-firmware.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-04-17 00:26:02 +0200
committerKay Sievers <kay@vrfy.org>2012-04-17 01:09:39 +0200
commit9e13dbae509605dba1bde7e7385086b59acb428e (patch)
treeab3b5cdbdcf358212727f2aa181186d4b5973832 /src/udev/udev-builtin-firmware.c
parentf13b388f97bc3ba8db844bd3413d510e2466a0b6 (diff)
udev: replace util_create_path() with mkdir_parents()
Diffstat (limited to 'src/udev/udev-builtin-firmware.c')
-rw-r--r--src/udev/udev-builtin-firmware.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-builtin-firmware.c b/src/udev/udev-builtin-firmware.c
index bd2716fdc8..56dc8fcaa9 100644
--- a/src/udev/udev-builtin-firmware.c
+++ b/src/udev/udev-builtin-firmware.c
@@ -121,7 +121,7 @@ static int builtin_firmware(struct udev_device *dev, int argc, char *argv[], boo
/* This link indicates the missing firmware file and the associated device */
log_debug("did not find firmware file '%s'\n", firmware);
do {
- err = util_create_path(udev, misspath);
+ err = mkdir_parents(misspath, 0755);
if (err != 0 && err != -ENOENT)
break;
err = symlink(udev_device_get_devpath(dev), misspath);