svn commit: r314806 - head/sys/kern
Gleb Smirnoff
glebius at FreeBSD.org
Mon Mar 6 22:32:58 UTC 2017
Author: glebius
Date: Mon Mar 6 22:32:56 2017
New Revision: 314806
URL: https://svnweb.freebsd.org/changeset/base/314806
Log:
Fix compilation of r314784 on 32 bit.
Modified:
head/sys/kern/kern_shutdown.c
Modified: head/sys/kern/kern_shutdown.c
==============================================================================
--- head/sys/kern/kern_shutdown.c Mon Mar 6 22:18:14 2017 (r314805)
+++ head/sys/kern/kern_shutdown.c Mon Mar 6 22:32:56 2017 (r314806)
@@ -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();
More information about the svn-src-head
mailing list