diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2013-11-01 20:27:22 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2013-11-01 20:27:22 +0000 |
commit | 5edbf209c3249674bf46ea1255f3dd9518e3abda (patch) | |
tree | 127e8e5d789a2359d33b86fce9857ae9311a0bb2 | |
parent | 9df646b5d6976688dbf96462cad42b43f6e2fbac (diff) |
Use %lu to print u_long, not %lld.
-rw-r--r-- | sys/arch/vax/mscp/mscp_disk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/vax/mscp/mscp_disk.c b/sys/arch/vax/mscp/mscp_disk.c index 60711050390..00159656d80 100644 --- a/sys/arch/vax/mscp/mscp_disk.c +++ b/sys/arch/vax/mscp/mscp_disk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mscp_disk.c,v 1.39 2013/06/11 16:42:13 deraadt Exp $ */ +/* $OpenBSD: mscp_disk.c,v 1.40 2013/11/01 20:27:21 krw Exp $ */ /* $NetBSD: mscp_disk.c,v 1.30 2001/11/13 07:38:28 lukem Exp $ */ /* * Copyright (c) 1996 Ludd, University of Lule}, Sweden. @@ -205,7 +205,7 @@ ra_putonline(struct ra_softc *ra) if (rc != EIO) ra->ra_state = DK_OPEN; - printf("%s: %luMB, %lu bytes/sector, %lld sectors\n", + printf("%s: %luMB, %lu bytes/sector, %lu sectors\n", ra->ra_dev.dv_xname, ra->ra_unitsize / (1048576 / dl->d_secsize), dl->d_secsize, ra->ra_unitsize); |