* [iproute2 1/1] tc simple action: bug fix
@ 2016-05-24 1:04 Jamal Hadi Salim
2016-05-24 10:30 ` Daniel Borkmann
0 siblings, 1 reply; 3+ messages in thread
From: Jamal Hadi Salim @ 2016-05-24 1:04 UTC (permalink / raw)
To: stephen; +Cc: netdev, daniel, Jamal Hadi Salim
From: Jamal Hadi Salim <jhs@mojatatu.com>
Failed compile
m_simple.c: In function ‘parse_simple’:
m_simple.c:154:6: warning: too many arguments for format [-Wformat-extra-args]
*argv);
^
m_simple.c:103:14: warning: unused variable ‘maybe_bind’ [-Wunused-variable]
Reported-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
---
tc/m_simple.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tc/m_simple.c b/tc/m_simple.c
index 11d4869..8b3d655 100644
--- a/tc/m_simple.c
+++ b/tc/m_simple.c
@@ -150,7 +150,7 @@ parse_simple(struct action_util *a, int *argc_p, char ***argv_p, int tca_id,
if (matches(*argv, "index") == 0) {
NEXT_ARG();
if (get_u32(&sel.index, *argv, 10)) {
- fprintf(stderr, "simple: Illegal \"index\"\n",
+ fprintf(stderr, "simple: Illegal \"index\" (%s)\n",
*argv);
return -1;
}
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [iproute2 1/1] tc simple action: bug fix
2016-05-24 1:04 [iproute2 1/1] tc simple action: bug fix Jamal Hadi Salim
@ 2016-05-24 10:30 ` Daniel Borkmann
2016-05-24 11:43 ` Jamal Hadi Salim
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Borkmann @ 2016-05-24 10:30 UTC (permalink / raw)
To: Jamal Hadi Salim, stephen; +Cc: netdev
On 05/24/2016 03:04 AM, Jamal Hadi Salim wrote:
> From: Jamal Hadi Salim <jhs@mojatatu.com>
>
> Failed compile
> m_simple.c: In function ‘parse_simple’:
> m_simple.c:154:6: warning: too many arguments for format [-Wformat-extra-args]
> *argv);
> ^
> m_simple.c:103:14: warning: unused variable ‘maybe_bind’ [-Wunused-variable]
Btw, that last one is still not addressed.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [iproute2 1/1] tc simple action: bug fix
2016-05-24 10:30 ` Daniel Borkmann
@ 2016-05-24 11:43 ` Jamal Hadi Salim
0 siblings, 0 replies; 3+ messages in thread
From: Jamal Hadi Salim @ 2016-05-24 11:43 UTC (permalink / raw)
To: Daniel Borkmann, stephen; +Cc: netdev
On 16-05-24 06:30 AM, Daniel Borkmann wrote:
> On 05/24/2016 03:04 AM, Jamal Hadi Salim wrote:
>> From: Jamal Hadi Salim <jhs@mojatatu.com>
>>
>> Failed compile
>> m_simple.c: In function ‘parse_simple’:
>> m_simple.c:154:6: warning: too many arguments for format
>> [-Wformat-extra-args]
>> *argv);
>> ^
>> m_simple.c:103:14: warning: unused variable ‘maybe_bind’
>> [-Wunused-variable]
>
> Btw, that last one is still not addressed.
Sigh. It is fixed in my tree. I have a few of patches that
I was planning to send later and some are touching intersecting files
and i am trying to be clever with git. Any tips? ;->
Will send v2.
cheers,
jamal
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-05-24 11:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-24 1:04 [iproute2 1/1] tc simple action: bug fix Jamal Hadi Salim
2016-05-24 10:30 ` Daniel Borkmann
2016-05-24 11:43 ` Jamal Hadi Salim
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.