: Wrong format in printk
PATCH 3/5 : Wrong format in printk
[DCCP]: Wrong format in printk
The elapsed time uses u32, but printk was using %d, not %u.
Signed-off-by Gerrit Renker <[email protected]>
--- net/dccp/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/dccp/options.c +1 -1
@@ -179,7 +179,7 @@ int dccp_parse_options(struct sock *sk, elapsed_time =ntohl (opt_val); } -dccp_pr_debug_cat (", ELAPSED_TIME=%d\n" , elapsed_time); +dccp_pr_debug_cat (", ELAPSED_TIME=%u\n" , elapsed_time);/* Give precedence to the biggest ELAPSED_TIME */ if (elapsed_time > opt_recv->dccpor_elapsed_time)
Quoted 5 lines · Gerrit Renker
[DCCP]: Wrong format in printk
The elapsed time uses u32, but printk was using %d, not %u.
Signed-off-by Gerrit Renker <[email protected]>
Signed-off-by Ian McDonald <[email protected]>
Signature · 3 lines
Web1: http://wand.net.nz/~iam4/ Web2: http://www.jandi.co.nz Blog: http://iansblog.jandi.co.nz