diff options
author | trhodes <trhodes@FreeBSD.org> | 2005-12-24 22:22:17 +0000 |
---|---|---|
committer | trhodes <trhodes@FreeBSD.org> | 2005-12-24 22:22:17 +0000 |
commit | 412f766852e2da36b4f178232cadb20dda832f61 (patch) | |
tree | 99de98c38a690d4ece3fe809f6493bae7a25e39b /sys/dev/firewire | |
parent | 130f918f03cc5185b2ae0c0a13e639fbe38250bf (diff) | |
download | FreeBSD-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/firewire')
-rw-r--r-- | sys/dev/firewire/sbp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/firewire/sbp.c b/sys/dev/firewire/sbp.c index c2f8e4f..51e93c9 100644 --- a/sys/dev/firewire/sbp.c +++ b/sys/dev/firewire/sbp.c @@ -698,8 +698,8 @@ sbp_login(struct sbp_dev *sdev) if (t.tv_sec >= 0 && t.tv_usec > 0) ticks = (t.tv_sec * 1000 + t.tv_usec / 1000) * hz / 1000; SBP_DEBUG(0) - printf("%s: sec = %ld usec = %ld ticks = %d\n", __func__, - t.tv_sec, t.tv_usec, ticks); + printf("%s: sec = %jd usec = %ld ticks = %d\n", __func__, + (intmax_t)t.tv_sec, t.tv_usec, ticks); END_DEBUG callout_reset(&sdev->login_callout, ticks, sbp_login_callout, (void *)(sdev)); |