summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Graf <tgraf@redhat.com>2014-05-06 14:56:17 +0200
committerThomas Graf <tgraf@redhat.com>2014-05-06 14:56:17 +0200
commit164584b6f5f033a7292265b6bfc3a02e95d4e49c (patch)
treed0430cafba0ec13938883e0c512edacdc6d7beab
parentbc2994f2225e37933c1181560afbc48d199b002a (diff)
parentaa1542cd98e13c2f81d5e36fd2924ee127bbab9b (diff)
Merge pull request #8 from valinskas/zv/bmon-sigsegv
Fixes 'bmon -i dummy:randomize' SIGSEGV
-rw-r--r--src/in_dummy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/in_dummy.c b/src/in_dummy.c
index 5c94a9e..9cf2c05 100644
--- a/src/in_dummy.c
+++ b/src/in_dummy.c
@@ -171,7 +171,7 @@ static void print_help(void)
" TX-bytes := TX-packets * (Rand() %% mtu)\n");
}
-static void dummy_parse_opt(const char *value, const char *type)
+static void dummy_parse_opt(const char *type, const char *value)
{
if (!strcasecmp(type, "rxb") && value)
c_rx_b_inc = strtol(value, NULL, 0);