forked from luck/tmp_suning_uos_patched
batman-adv: Print jiffies as unsigned long
Signed-off-by: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
parent
d3a547be40
commit
f678bc9883
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user