summaryrefslogtreecommitdiffhomepage
path: root/networking/ping.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-02-03 03:31:13 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-02-03 03:31:13 +0000
commit4c978631096a97e1cd68dfe40a1583de537112c4 (patch)
tree72450c173aeeb2b13c0965635f1867f76738f42d /networking/ping.c
parente968fcd562da08591b0f7990b839174ad93fc7b4 (diff)
assorted fixes for bugs found with randomconfig
Diffstat (limited to 'networking/ping.c')
-rw-r--r--networking/ping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ping.c b/networking/ping.c
index 53aabb6d7..ba4f585db 100644
--- a/networking/ping.c
+++ b/networking/ping.c
@@ -190,7 +190,7 @@ int ping_main(int argc, char **argv)
len_and_sockaddr *lsa;
#if ENABLE_PING6
sa_family_t af = AF_UNSPEC;
- while (++argv[0][0]) == '-') {
+ while (++argv[0][0] == '-') {
if (argv[0][1] == '4') {
af = AF_INET;
continue;