summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-08-21 17:23:03 +0200
committerLennart Poettering <lennart@poettering.net>2012-08-21 17:23:03 +0200
commit01ed0e2307f3b889b64165fd503d79b4568c47e1 (patch)
tree097d1db9e1368af620607f779864fad75fbdd04d /src/udev
parent4fc9982cb0499f6502aefc5b8f410658c6d4d261 (diff)
dev-setup: make NULL as parameter for dev_setup() equivalent to ""
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/udevd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index 1bb15d8c9e..b4fc624db3 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -1155,7 +1155,7 @@ int main(int argc, char *argv[])
mkdir("/run/udev", 0755);
- dev_setup("");
+ dev_setup(NULL);
static_dev_create_from_modules(udev);
/* before opening new files, make sure std{in,out,err} fds are in a sane state */