summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/bat_debugfs.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2011-05-14 23:14:47 +0200
committerSven Eckelmann <sven@narfation.org>2011-05-30 07:39:29 +0200
commitf678bc9883bb28d9d20db01bc0de53efbacc21c5 (patch)
treeb28769ae88c15ead24ff4f3e6911014020180279 /net/batman-adv/bat_debugfs.c
parentbatman-adv: Annotate functions with format strings (diff)
downloadlinux-f678bc9883bb28d9d20db01bc0de53efbacc21c5.tar.xz
linux-f678bc9883bb28d9d20db01bc0de53efbacc21c5.zip
batman-adv: Print jiffies as unsigned long
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/bat_debugfs.c')
-rw-r--r--net/batman-adv/bat_debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/bat_debugfs.c b/net/batman-adv/bat_debugfs.c
index 4577d3fe9940..e8491ee66468 100644
--- a/net/batman-adv/bat_debugfs.c
+++ b/net/batman-adv/bat_debugfs.c
@@ -82,7 +82,7 @@ int debug_log(struct bat_priv *bat_priv, char *fmt, ...)
va_start(args, fmt);
vscnprintf(tmp_log_buf, sizeof(tmp_log_buf), fmt, args);
- fdebug_log(bat_priv->debug_log, "[%10u] %s",
+ fdebug_log(bat_priv->debug_log, "[%10lu] %s",
(jiffies / HZ), tmp_log_buf);
va_end(args);