chiark / gitweb /
udevd: fix bogus mkdir invocation
authorDave Reisner <dreisner@archlinux.org>
Mon, 2 Jul 2012 01:09:18 +0000 (03:09 +0200)
committerKay Sievers <kay@vrfy.org>
Mon, 2 Jul 2012 01:09:18 +0000 (03:09 +0200)
commitddbe6850b2ae490ab359a050b190cf96e1559cd7
tree1cdb25003c65edec2d2e16cec8ce6a69ff7eaa13
parentb80680eda9e615711414b7efa2d81e4ac1496b6a
udevd: fix bogus mkdir invocation

The filename parameter passed to mkdir can't contain anything but a
garbage value at this point. This was meant to be the full pathname to
the new udev DB, as the mkdir_parents() call before it won't create the
trailing child directory.

[replace mkdir_parents() + mkdir() with mkdir_p() -- kay]
src/udev/udevd.c