From 38a0ce084fb402a96802fc04d89680c30fac946b Mon Sep 17 00:00:00 2001 From: sin Date: Mon, 14 Apr 2014 09:46:39 +0100 Subject: [PATCH] Remember to return EXIT_FAILURE from main() Doesn't matter in this case but gets rid of compiler warnings. --- switch_root.c | 1 + 1 file changed, 1 insertion(+) diff --git a/switch_root.c b/switch_root.c index ede292e..318d08c 100644 --- a/switch_root.c +++ b/switch_root.c @@ -134,4 +134,5 @@ main(int argc, char **argv) /* execute init */ execv(argv[1], argv); eprintf("can't execute '%s'\n", argv[1]); + return EXIT_FAILURE; }