diff options
author | bde <bde@FreeBSD.org> | 1995-04-30 15:14:34 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-04-30 15:14:34 +0000 |
commit | 8467ec16eaeb1a6204277b7382fdcc1a3d1992e3 (patch) | |
tree | 6b9982cf25f308a500e758bd62cf249a1ccd16c2 /sys/scsi/sd.c | |
parent | 842728512148d19d2e8e020150941744f5f41eac (diff) | |
download | FreeBSD-src-8467ec16eaeb1a6204277b7382fdcc1a3d1992e3.zip FreeBSD-src-8467ec16eaeb1a6204277b7382fdcc1a3d1992e3.tar.gz |
Change dsioctl() interface to allow DIOCSYNCSLICEINFO to update the caller's
slice pointer and to print the device name in error messages.
Diffstat (limited to 'sys/scsi/sd.c')
-rw-r--r-- | sys/scsi/sd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c index dfe8997..338c48b 100644 --- a/sys/scsi/sd.c +++ b/sys/scsi/sd.c @@ -14,7 +14,7 @@ * * Ported to run under 386BSD by Julian Elischer (julian@dialix.oz.au) Sept 1992 * - * $Id: sd.c,v 1.60 1995/04/23 22:07:53 gibbs Exp $ + * $Id: sd.c,v 1.61 1995/04/29 17:52:44 dufault Exp $ */ #define SPLSD splbio @@ -575,8 +575,8 @@ sd_ioctl(dev_t dev, int cmd, caddr_t addr, int flag, struct proc *p, if (cmd == DIOCSBAD) return (EINVAL); /* XXX */ - error = dsioctl(dev, cmd, addr, flag, sd->dk_slices, sdstrategy1, - (ds_setgeom_t *)NULL); + error = dsioctl("sd", dev, cmd, addr, flag, &sd->dk_slices, + sdstrategy1, (ds_setgeom_t *)NULL); if (error != -1) return (error); if (PARTITION(dev) != RAW_PART && !SCSI_SUPER(dev)) |