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();
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to