commit | ecf52428daf64a8484630e60d7e6c2b310abdbe8 | [log] [tgz] |
---|---|---|
author | Kees van Reeuwijk <reeuwijk@few.vu.nl> | Fri Feb 08 03:32:36 2013 +0000 |
committer | Stephen Hemminger <stephen@networkplumber.org> | Mon Feb 11 09:22:17 2013 -0800 |
tree | 67b68846c24f0578659e994191ab8799e7f330e4 | |
parent | 089d8f36ddd8d1bad42691b52badc6e81c23ab4f [diff] |
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 <reeuwijk@few.vu.nl>
diff --git a/ip/ip.c b/ip/ip.c index 632d271..c3ff627 100644 --- a/ip/ip.c +++ b/ip/ip.c
@@ -57,6 +57,7 @@ static int do_help(int argc, char **argv) { usage(); + return 0; } static const struct cmd {