From 21ebbb942f3b342e671b749b734aa8d8c4fa8c52 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sun, 9 May 2021 14:28:49 +0200 Subject: [PATCH] plugins: bootmisc: minor, whitespace Signed-off-by: Joachim Wiberg --- plugins/bootmisc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/bootmisc.c b/plugins/bootmisc.c index 193087f2..0ab0402f 100644 --- a/plugins/bootmisc.c +++ b/plugins/bootmisc.c @@ -122,13 +122,13 @@ static void setup(void *arg) if (!fisdir("/run/lock")) makedir("/run/lock", 1777); symlink("/run/lock", "/var/lock"); - symlink("/dev/shm", "/run/shm"); + symlink("/dev/shm", "/run/shm"); /* compat only, should really be set up by OS/dist */ - symlink("/run", "/var/run"); + symlink("/run", "/var/run"); } else { - makedir("/var/lock", 1777); - makedir("/var/run", 0755); + makedir("/var/lock", 1777); + makedir("/var/run", 0755); } makedir("/var/log", 0755); makedir("/var/mail", 0755);