Commit f678bc98 authored by Sven Eckelmann's avatar Sven Eckelmann

batman-adv: Print jiffies as unsigned long

Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>
parent d3a547be
...@@ -82,7 +82,7 @@ int debug_log(struct bat_priv *bat_priv, char *fmt, ...) ...@@ -82,7 +82,7 @@ int debug_log(struct bat_priv *bat_priv, char *fmt, ...)
va_start(args, fmt); va_start(args, fmt);
vscnprintf(tmp_log_buf, sizeof(tmp_log_buf), fmt, args); 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); (jiffies / HZ), tmp_log_buf);
va_end(args); va_end(args);
......
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