Change cgroup() return type from int to void (avoids a gcc warning)

This commit is contained in:
Jose Pedro Oliveira
2013-09-28 01:42:05 +01:00
parent 2941bbae2d
commit 8f80f875b5
+1 -1
View File
@@ -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[] = {