summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica/Osd
diff options
context:
space:
mode:
authortrhodes <trhodes@FreeBSD.org>2005-12-24 22:22:17 +0000
committertrhodes <trhodes@FreeBSD.org>2005-12-24 22:22:17 +0000
commit412f766852e2da36b4f178232cadb20dda832f61 (patch)
tree99de98c38a690d4ece3fe809f6493bae7a25e39b /sys/dev/acpica/Osd
parent130f918f03cc5185b2ae0c0a13e639fbe38250bf (diff)
downloadFreeBSD-src-412f766852e2da36b4f178232cadb20dda832f61.zip
FreeBSD-src-412f766852e2da36b4f178232cadb20dda832f61.tar.gz
Make tv_sec a time_t on all platforms but alpha. Brings us more in line with
POSIX. This also makes the struct correct we ever implement an i386-time64 architecture. Not that we need too. Reviewed by: imp, brooks Approved by: njl (acpica), des (no objects, touches procfs) Tested with: make universe
Diffstat (limited to 'sys/dev/acpica/Osd')
-rw-r--r--sys/dev/acpica/Osd/OsdSynch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpica/Osd/OsdSynch.c b/sys/dev/acpica/Osd/OsdSynch.c
index 659b6fb..6cc6bcf 100644
--- a/sys/dev/acpica/Osd/OsdSynch.c
+++ b/sys/dev/acpica/Osd/OsdSynch.c
@@ -257,8 +257,8 @@ AcpiOsWaitSemaphore(ACPI_HANDLE Handle, UINT32 Units, UINT16 Timeout)
tmo = 1;
if (acpi_semaphore_debug) {
- printf("%s: Wakeup timeleft(%lu, %lu), tmo %u, sem %p, thread %d\n",
- __func__, timelefttv.tv_sec, timelefttv.tv_usec, tmo, as,
+ printf("%s: Wakeup timeleft(%jd, %lu), tmo %u, sem %p, thread %d\n",
+ __func__, (intmax_t)timelefttv.tv_sec, timelefttv.tv_usec, tmo, as,
AcpiOsGetThreadId());
}
}
OpenPOWER on IntegriCloud