diff options
Diffstat (limited to 'src/udev/udevd.c')
-rw-r--r-- | src/udev/udevd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c index 1d6b23087b..a5478a754e 100644 --- a/src/udev/udevd.c +++ b/src/udev/udevd.c @@ -899,8 +899,7 @@ static int convert_db(struct udev *udev) return 0; /* make sure we do not get here again */ - mkdir_parents("/run/udev/data", 0755); - mkdir(filename, 0755); + mkdir_p("/run/udev/data", 0755); /* old database */ util_strscpyl(filename, sizeof(filename), "/dev/.udev/db", NULL); |