From e90a54821c202b0b80a955b2041b5aec7ace5414 Mon Sep 17 00:00:00 2001 From: Adriaan Schmidt Date: Tue, 9 May 2023 14:54:26 +0200 Subject: [PATCH] fix: repair build for --disable-systemd Ensure that the prototypes of `create_systemd_scope` match for both `WITH_SYSTEMD` and `!WITH_SYSTEMD`. Signed-off-by: Adriaan Schmidt Reviewed-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- src/tools/cgcreate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/cgcreate.c b/src/tools/cgcreate.c index ff9c3102..0314e84c 100644 --- a/src/tools/cgcreate.c +++ b/src/tools/cgcreate.c @@ -100,7 +100,7 @@ err: } #else static int create_systemd_scope(struct cgroup * const cg, const char * const prog_name, - int set_default) + int set_default, pid_t pid) { return ECGINVAL; } -- 2.47.2