diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-21 13:37:08 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-21 13:37:08 +0000 |
commit | b202c2259c0f6ce49955b13ad1a4ac05943e8d9e (patch) | |
tree | 22eea29783e370f28701c3211be77f69a9c2be43 /sys | |
parent | 5c7469d586905bf08539600750e5f30833ae857d (diff) |
SUNOS_* ioctl done as such
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc/sparc/disksubr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc/sparc/disksubr.c b/sys/arch/sparc/sparc/disksubr.c index 6caf916c67c..70d30d142c6 100644 --- a/sys/arch/sparc/sparc/disksubr.c +++ b/sys/arch/sparc/sparc/disksubr.c @@ -489,7 +489,7 @@ sun_dkioctl(dk, cmd, data, partition) register struct partition *p; switch (cmd) { - case DKIOCGGEOM: + case SUNOS_DKIOCGGEOM: #define geom ((struct sun_dkgeom *)data) bzero(data, sizeof(*geom)); geom->sdkc_ncylinders = dk->dk_label.d_ncylinders; @@ -503,11 +503,11 @@ sun_dkioctl(dk, cmd, data, partition) dk->dk_label.d_ncylinders + dk->dk_label.d_acylinders; #undef geom break; - case DKIOCINFO: + case SUNOS_DKIOCINFO: /* Homey don't do DKIOCINFO */ bzero(data, sizeof(struct sun_dkctlr)); break; - case DKIOCGPART: + case SUNOS_DKIOCGPART: if (dk->dk_label.d_secpercyl == 0) return (ERANGE); /* XXX */ p = &dk->dk_label.d_partitions[partition]; |