diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2007-10-04 17:44:01 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:54:36 -0400 |
commit | dcad856fe8e0222012d9ae0e4dc6c6e5cce276e6 (patch) | |
tree | 6eba059a2b8bea346ff54ad6bd9913991c7e4d5f /net/dccp | |
parent | 451bc0473f010babeadd888ae8ec1015959fd1b2 (diff) |
[DCCP]: Wrong format in printk
The elapsed time uses u32, but printk was using %d, not %u.
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'net/dccp')
-rw-r--r-- | net/dccp/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/options.c b/net/dccp/options.c index 172eb6ba8702..d361b5533309 100644 --- a/net/dccp/options.c +++ b/net/dccp/options.c | |||
@@ -179,7 +179,7 @@ int dccp_parse_options(struct sock *sk, struct sk_buff *skb) | |||
179 | else | 179 | else |
180 | elapsed_time = ntohl(*(__be32 *)(value + 4)); | 180 | elapsed_time = ntohl(*(__be32 *)(value + 4)); |
181 | 181 | ||
182 | dccp_pr_debug_cat(", ELAPSED_TIME=%d\n", elapsed_time); | 182 | dccp_pr_debug_cat(", ELAPSED_TIME=%u\n", elapsed_time); |
183 | 183 | ||
184 | /* Give precedence to the biggest ELAPSED_TIME */ | 184 | /* Give precedence to the biggest ELAPSED_TIME */ |
185 | if (elapsed_time > opt_recv->dccpor_elapsed_time) | 185 | if (elapsed_time > opt_recv->dccpor_elapsed_time) |