diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2010-09-22 01:18:58 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2010-09-22 01:18:58 +0000 |
commit | 34c87715dd3424febc6cb5524e46e8ac900ecd5b (patch) | |
tree | aa4bca84f8718e9b0a60a04c013600ebe373fd53 /sys/scsi/cd.c | |
parent | f5d040ac297491ad084c2a984bd5a30ced7e045e (diff) |
All users of physio(9) now pass NULL as the buf pointer argument, so
no point in keeping it around.
"i like this" thib@ (a while back); ok krw@ and oga@; reminder to
update the man page and tweaks jmc@
Diffstat (limited to 'sys/scsi/cd.c')
-rw-r--r-- | sys/scsi/cd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c index 4794294541e..7d93b274f5d 100644 --- a/sys/scsi/cd.c +++ b/sys/scsi/cd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cd.c,v 1.194 2010/09/21 12:20:53 krw Exp $ */ +/* $OpenBSD: cd.c,v 1.195 2010/09/22 01:18:57 matthew Exp $ */ /* $NetBSD: cd.c,v 1.100 1997/04/02 02:29:30 mycroft Exp $ */ /* @@ -769,14 +769,14 @@ int cdread(dev_t dev, struct uio *uio, int ioflag) { - return (physio(cdstrategy, NULL, dev, B_READ, cdminphys, uio)); + return (physio(cdstrategy, dev, B_READ, cdminphys, uio)); } int cdwrite(dev_t dev, struct uio *uio, int ioflag) { - return (physio(cdstrategy, NULL, dev, B_WRITE, cdminphys, uio)); + return (physio(cdstrategy, dev, B_WRITE, cdminphys, uio)); } /* |