diff --git a/main.c b/main.c index d24960c..7a241a0 100644 --- a/main.c +++ b/main.c @@ -27,7 +27,7 @@ void drop_root(void) if (setresgid(-1,gid,gid) == -1) { int err = errno; - printf("Failed to drop root privileges with setegid (%d)\n", err); + printf("Failed to drop root privileges with setresgid (%d)\n", err); exit(err); }