summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-21 13:37:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-21 13:37:08 +0000
commitb202c2259c0f6ce49955b13ad1a4ac05943e8d9e (patch)
tree22eea29783e370f28701c3211be77f69a9c2be43 /sys
parent5c7469d586905bf08539600750e5f30833ae857d (diff)
SUNOS_* ioctl done as such
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/sparc/disksubr.c6
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];