From: miod Date: Thu, 15 Jan 2015 20:48:51 +0000 (+0000) Subject: Be sure to print time_t with the appropriate format specifier. Repairs X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=00be6c3deb9a64815398c791e589bb369db129af;p=openbsd Be sure to print time_t with the appropriate format specifier. Repairs dump of eeprom variables on sun4. --- diff --git a/usr.sbin/eeprom/eehandlers.c b/usr.sbin/eeprom/eehandlers.c index 1ebb8d1ca5b..75aac5657be 100644 --- a/usr.sbin/eeprom/eehandlers.c +++ b/usr.sbin/eeprom/eehandlers.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eehandlers.c,v 1.19 2014/11/18 20:54:28 krw Exp $ */ +/* $OpenBSD: eehandlers.c,v 1.20 2015/01/15 20:48:51 miod Exp $ */ /* $NetBSD: eehandlers.c,v 1.2 1996/02/28 01:13:22 thorpej Exp $ */ /*- @@ -110,7 +110,7 @@ ee_hwupdate(struct keytabent *ktent, char *arg) if ((cp2 = strrchr(cp, '\n')) != NULL) *cp2 = '\0'; - printf("%s=%d (%s)\n", ktent->kt_keyword, t, cp); + printf("%s=%lld (%s)\n", ktent->kt_keyword, (long long)t, cp); } #endif