Fix compilation of r314784 on 32 bit.

This commit is contained in:
Gleb Smirnoff 2017-03-06 22:32:56 +00:00
parent de5e156be6
commit 6cf0c1db55

View File

@ -764,7 +764,7 @@ vpanic(const char *fmt, va_list ap)
#ifdef SMP
printf("cpuid = %d\n", PCPU_GET(cpuid));
#endif
printf("time = %ld\n", time_second);
printf("time = %jd\n", (intmax_t )time_second);
#ifdef KDB
if (newpanic && trace_on_panic)
kdb_backtrace();