提交 f678bc98 编写于 作者: S Sven Eckelmann

batman-adv: Print jiffies as unsigned long

Signed-off-by: NSven Eckelmann <sven@narfation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册