Comment type + make indent
authorRobert Swiecki <robert@swiecki.net>
Mon, 17 Oct 2016 20:53:31 +0000 (22:53 +0200)
committerRobert Swiecki <robert@swiecki.net>
Mon, 17 Oct 2016 20:53:31 +0000 (22:53 +0200)
Makefile
mount.c

index fcfcd5bd83787c8497860eae2473401ef1d63841..1f2be1b99249516a0f2491a96ff58f2bfc404d75 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -76,13 +76,13 @@ cmdline.o: cmdline.h common.h log.h util.h
 contain.o: contain.h common.h cgroup.h log.h mount.h net.h pid.h util.h uts.h
 log.o: log.h common.h
 cgroup.o: cgroup.h common.h log.h util.h
-mount.o: mount.h common.h log.h
-net.o: net.h common.h log.h
-pid.o: pid.h common.h log.h
-sandbox.o: sandbox.h common.h log.h seccomp/bpf-helper.h
+mount.o: mount.h common.h log.h util.h
+net.o: net.h common.h log.h subproc.h
+pid.o: pid.h common.h log.h subproc.h
+sandbox.o: sandbox.h common.h log.h
 subproc.o: subproc.h common.h cgroup.h contain.h log.h net.h sandbox.h user.h
 subproc.o: util.h
-user.o: user.h common.h log.h util.h
+user.o: user.h common.h log.h subproc.h util.h
 util.o: util.h common.h log.h
 uts.o: uts.h common.h log.h
 seccomp/bpf-helper.o: seccomp/bpf-helper.h
diff --git a/mount.c b/mount.c
index 2915332896f5082e43b6ae6d0441885b75f21a40..d4ec4d1e18cc61c762cd17c6002cc2a2e2aa72b4 100644 (file)
--- a/mount.c
+++ b/mount.c
@@ -248,7 +248,7 @@ static bool mountInitNsInternal(struct nsjconf_t *nsjconf)
 
 /*
  * With mode MODE_STANDALONE_EXECVE it's required to mount /proc inside a new process,
- *  as the current process is still in the original PID namespace (man pid_namespaces)
+ * as the current process is still in the original PID namespace (man pid_namespaces)
  */
 bool mountInitNs(struct nsjconf_t * nsjconf)
 {