[2/9] batman-adv: Print jiffies as unsigned long

Message ID 1305407694-16789-2-git-send-email-sven@narfation.org (mailing list archive)
State Accepted, archived
Commit 49524b5a2374481141545dbc51d74b4098da1f7f
Headers

Commit Message

Sven Eckelmann May 14, 2011, 9:14 p.m. UTC
  Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
 bat_debugfs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
  

Comments

Marek Lindner May 18, 2011, 9:35 a.m. UTC | #1
On Saturday 14 May 2011 23:14:47 Sven Eckelmann wrote:
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
>  bat_debugfs.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied in revision 49524b5.

Thanks,
Marek
  

Patch

diff --git a/bat_debugfs.c b/bat_debugfs.c
index 4577d3f..e8491ee 100644
--- a/bat_debugfs.c
+++ b/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);