Skip to content

Commit be3b6ed

Browse files
committed
Code cleanup
Signed-off-by: Adrien Gallouët <[email protected]>
1 parent c4dbd8a commit be3b6ed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

init.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#define _GNU_SOURCE
22

3-
#include <stdlib.h>
4-
#include <stdio.h>
53
#include <fcntl.h>
4+
#include <stdio.h>
5+
#include <stdlib.h>
66
#include <unistd.h>
77

8+
#include <sys/mount.h>
89
#include <sys/stat.h>
910
#include <sys/wait.h>
10-
#include <sys/mount.h>
1111

1212
static void
1313
spawn(const char *cmd)
@@ -37,7 +37,7 @@ init_fs(void)
3737
{
3838
chdir("/");
3939

40-
if (mount(NULL, "/", NULL, MS_NOSUID|MS_REMOUNT, NULL))
40+
if (mount(NULL, "/", NULL, MS_NOSUID | MS_REMOUNT, NULL))
4141
perror("remount(/)");
4242

4343
mkdir("/dev", 0755);

0 commit comments

Comments
 (0)