lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Thu, 31 Jan 2013 16:03:20 +0000
From:	"Reeuwijk, C. van" <>
To:	"" <>
Subject: [PATCH] iproute2: add a missing return statement to do_help()

From: Kees van Reeuwijk <>

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 <>


 {upstream/master:ip => master:ip}/ip.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/upstream/master:ip/ip.c b/master:ip/ip.c
index 632d271..c3ff627 100644
--- a/upstream/master:ip/ip.c
+++ b/master:ip/ip.c
@@ -57,6 +57,7 @@ static void usage(void)
 static int do_help(int argc, char **argv)
+        return 0;
 static const struct cmd {

Dr. ir. Kees van Reeuwijk, Vrije Universiteit Amsterdam

To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists