From ef2495bf5e29cf05ef092fa811ddc934e24c8147 Mon Sep 17 00:00:00 2001 From: Yoshihiro Takahashi Date: Fri, 2 May 2003 14:55:42 +0000 Subject: [PATCH] s/DIOCGPC98/DIOCSPC98/ --- usr.sbin/boot98cfg/boot98cfg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/boot98cfg/boot98cfg.c b/usr.sbin/boot98cfg/boot98cfg.c index 9bfa0903982e..7ab9c2bb3054 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; }