Commit ecf52428 authored by Kees van Reeuwijk's avatar Kees van Reeuwijk Committed by Stephen Hemminger

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: default avatarKees van Reeuwijk <reeuwijk@few.vu.nl>
parent 089d8f36
......@@ -57,6 +57,7 @@ static void usage(void)
static int do_help(int argc, char **argv)
{
usage();
return 0;
}
static const struct cmd {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment