summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2003-05-01 14:30:59 +0000
committernyan <nyan@FreeBSD.org>2003-05-01 14:30:59 +0000
commitc7b799cc919aa786b000681139a33c9079e9dbf4 (patch)
treed6d91c686dce82deebf285372fcf85a82023126b /sbin
parent764e08a2d9b80dbee9a9a500358eef1269bf2a66 (diff)
downloadFreeBSD-src-c7b799cc919aa786b000681139a33c9079e9dbf4.zip
FreeBSD-src-c7b799cc919aa786b000681139a33c9079e9dbf4.tar.gz
Oops, DIOCGPC98 should be DIOCSPC98.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/fdisk_pc98/fdisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/fdisk_pc98/fdisk.c b/sbin/fdisk_pc98/fdisk.c
index 9fd39c4..8b8ce19 100644
--- a/sbin/fdisk_pc98/fdisk.c
+++ b/sbin/fdisk_pc98/fdisk.c
@@ -904,7 +904,7 @@ write_disk(off_t sector, void *buf)
#ifdef PC98
if (fdw != -1) {
- return ioctl(fdw, DIOCGPC98, buf);
+ return ioctl(fdw, DIOCSPC98, buf);
} else {
lseek(fd,(sector * 512), 0);
/* write out in the size that the read_disk found worked */
OpenPOWER on IntegriCloud