chiark / gitweb /
dev-setup: make NULL as parameter for dev_setup() equivalent to ""
[elogind.git] / src / core / mount-setup.c
index be11bb8f369a1a18741ad0adaf281cd3c42d9f02..1a82a46fefeac92cabe1642ee4f405b0624ea01a 100644 (file)
@@ -398,7 +398,7 @@ int mount_setup(bool loaded_policy) {
         /* Create a few default symlinks, which are normally created
          * by udevd, but some scripts might need them before we start
          * udevd. */
-        dev_setup("");
+        dev_setup(NULL);
 
         /* Mark the root directory as shared in regards to mount
          * propagation. The kernel defaults to "private", but we think