summaryrefslogtreecommitdiffstats
path: root/usr.sbin/boot98cfg
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2003-05-02 14:55:42 +0000
committernyan <nyan@FreeBSD.org>2003-05-02 14:55:42 +0000
commit5a81fa192a3c014aa2d5841433693479b4641619 (patch)
tree8a6471228a08a66ab82905f9bc17b10d99a30712 /usr.sbin/boot98cfg
parentf1adb3279732da93033f0d0fb2b8c48294fbdaf9 (diff)
downloadFreeBSD-src-5a81fa192a3c014aa2d5841433693479b4641619.zip
FreeBSD-src-5a81fa192a3c014aa2d5841433693479b4641619.tar.gz
s/DIOCGPC98/DIOCSPC98/
Diffstat (limited to 'usr.sbin/boot98cfg')
-rw-r--r--usr.sbin/boot98cfg/boot98cfg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/boot98cfg/boot98cfg.c b/usr.sbin/boot98cfg/boot98cfg.c
index 9bfa090..7ab9c2b 100644
--- a/usr.sbin/boot98cfg/boot98cfg.c
+++ b/usr.sbin/boot98cfg/boot98cfg.c
@@ -154,9 +154,9 @@ write_boot(const char *disk, u_char *boot)
fd = open(buf, O_RDONLY);
if (fd < 0)
continue;
- n = ioctl(fd, DIOCGPC98, boot);
+ n = ioctl(fd, DIOCSPC98, boot);
if (n != 0)
- err(1, "%s: ioctl DIOCGPC98", disk);
+ err(1, "%s: ioctl DIOCSPC98", disk);
close(fd);
return 0;
}
OpenPOWER on IntegriCloud