Commit dcad856f authored by Gerrit Renker's avatar Gerrit Renker Committed by David S. Miller

[DCCP]: Wrong format in printk

The elapsed time uses u32, but printk was using %d, not %u.
Signed-off-by: default avatarGerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: default avatarIan McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 451bc047
...@@ -179,7 +179,7 @@ int dccp_parse_options(struct sock *sk, struct sk_buff *skb) ...@@ -179,7 +179,7 @@ int dccp_parse_options(struct sock *sk, struct sk_buff *skb)
else else
elapsed_time = ntohl(*(__be32 *)(value + 4)); elapsed_time = ntohl(*(__be32 *)(value + 4));
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 */ /* Give precedence to the biggest ELAPSED_TIME */
if (elapsed_time > opt_recv->dccpor_elapsed_time) if (elapsed_time > opt_recv->dccpor_elapsed_time)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment