summaryrefslogtreecommitdiff
path: root/sys/scsi/cd.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-06-11 16:42:20 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-06-11 16:42:20 +0000
commit6b46236c83f9aa5b9cd59b466eeba348ee23825a (patch)
treeef7eca8601ed03d00b5a9a53b3355f66ed478486 /sys/scsi/cd.c
parentcc20036a151815396b8c4285e8b3b56f0172f1d5 (diff)
final removal of daddr64_t. daddr_t has been 64 bit for a long enough
test period; i think 3 years ago the last bugs fell out. ok otto beck others
Diffstat (limited to 'sys/scsi/cd.c')
-rw-r--r--sys/scsi/cd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c
index ff64bcbb520..cce3860a9b2 100644
--- a/sys/scsi/cd.c
+++ b/sys/scsi/cd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cd.c,v 1.207 2011/07/06 04:49:36 matthew Exp $ */
+/* $OpenBSD: cd.c,v 1.208 2013/06/11 16:42:17 deraadt Exp $ */
/* $NetBSD: cd.c,v 1.100 1997/04/02 02:29:30 mycroft Exp $ */
/*
@@ -106,7 +106,7 @@ struct cd_softc {
struct scsi_link *sc_link; /* contains our targ, lun, etc. */
struct cd_parms {
u_int32_t secsize;
- daddr64_t disksize; /* total number sectors */
+ daddr_t disksize; /* total number sectors */
} params;
struct bufq sc_bufq;
struct scsi_xshandler sc_xsh;
@@ -1631,7 +1631,7 @@ cd_get_parms(struct cd_softc *sc, int flags)
return (0);
}
-daddr64_t
+daddr_t
cdsize(dev_t dev)
{
@@ -1640,7 +1640,7 @@ cdsize(dev_t dev)
}
int
-cddump(dev_t dev, daddr64_t secno, caddr_t va, size_t size)
+cddump(dev_t dev, daddr_t secno, caddr_t va, size_t size)
{
/* Not implemented. */
return ENXIO;