aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/common.c')
-rw-r--r--src/lib/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/common.c b/src/lib/common.c
index d23cd589e..099bb54d3 100644
--- a/src/lib/common.c
+++ b/src/lib/common.c
@@ -58,6 +58,7 @@ int join_namespace(pid_t pid, char *type) {
58} 58}
59 59
60// return 1 if error 60// return 1 if error
61// this function requires root access - todo: fix it!
61int name2pid(const char *name, pid_t *pid) { 62int name2pid(const char *name, pid_t *pid) {
62 pid_t parent = getpid(); 63 pid_t parent = getpid();
63 64