From: Gerrit Renker Date: Thu, 4 Oct 2007 21:44:01 +0000 (-0700) Subject: [DCCP]: Wrong format in printk X-Git-Tag: v2.6.24-rc1~1454^2~163 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dcad856fe8e0222012d9ae0e4dc6c6e5cce276e6;p=platform%2Fkernel%2Flinux-3.10.git [DCCP]: Wrong format in printk The elapsed time uses u32, but printk was using %d, not %u. Signed-off-by: Gerrit Renker Signed-off-by: Ian McDonald Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/net/dccp/options.c b/net/dccp/options.c index 172eb6b..d361b55 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) else 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 */ if (elapsed_time > opt_recv->dccpor_elapsed_time)