From 8f80f875b5713bd0077251676c4813b4cf68d51d Mon Sep 17 00:00:00 2001 From: Jose Pedro Oliveira Date: Sat, 28 Sep 2013 01:42:05 +0100 Subject: [PATCH] Change cgroup() return type from int to void (avoids a gcc warning) --- mnexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mnexec.c b/mnexec.c index ea8fb6f..b7be9bc 100644 --- a/mnexec.c +++ b/mnexec.c @@ -63,7 +63,7 @@ void validate(char *path) } /* Add our pid to cgroup */ -int cgroup(char *gname) +void cgroup(char *gname) { static char path[PATH_MAX]; static char *groups[] = {