From ecf52428daf64a8484630e60d7e6c2b310abdbe8 Mon Sep 17 00:00:00 2001 From: Kees van Reeuwijk Date: Fri, 8 Feb 2013 03:32:36 +0000 Subject: [PATCH] iproute2: add a missing return statement Since do_help() has to return an int to fit in the table of commands, it should actually return an int. This patch lets it do so. Signed-off-by: Kees van Reeuwijk --- ip/ip.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ip/ip.c b/ip/ip.c index 632d2717..c3ff6270 100644 --- a/ip/ip.c +++ b/ip/ip.c @@ -57,6 +57,7 @@ static void usage(void) static int do_help(int argc, char **argv) { usage(); + return 0; } static const struct cmd {