summaryrefslogtreecommitdiffstats
path: root/sys/dev/mlx
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-12-12 20:59:29 +0000
committerpeter <peter@FreeBSD.org>1999-12-12 20:59:29 +0000
commit4a19a65dcf6f3dbb21ee7fdf66ee6e2a5102815c (patch)
treecca721fd9a04d0d733a6b8fa05cb8920e14b9632 /sys/dev/mlx
parentd7e6042db0ca5395d3c0cf832b7ff2f34e0d2771 (diff)
downloadFreeBSD-src-4a19a65dcf6f3dbb21ee7fdf66ee6e2a5102815c.zip
FreeBSD-src-4a19a65dcf6f3dbb21ee7fdf66ee6e2a5102815c.tar.gz
time_t is an int on the Alpha, not long.
Diffstat (limited to 'sys/dev/mlx')
-rw-r--r--sys/dev/mlx/mlx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mlx/mlx.c b/sys/dev/mlx/mlx.c
index d747158..6bf2d3f 100644
--- a/sys/dev/mlx/mlx.c
+++ b/sys/dev/mlx/mlx.c
@@ -1310,7 +1310,7 @@ mlx_pause_done(struct mlx_command *mc)
command == MLX_CMD_STOPCHANNEL ? "pause" : "resume", mlx_diagnose_command(mc));
} else if (command == MLX_CMD_STOPCHANNEL) {
device_printf(sc->mlx_dev, "channel %d pausing for %ld seconds\n",
- channel, sc->mlx_pause.mp_howlong - time_second);
+ channel, (long)(sc->mlx_pause.mp_howlong - time_second));
} else {
device_printf(sc->mlx_dev, "channel %d resuming\n", channel);
}
OpenPOWER on IntegriCloud