aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/boot98cfg
diff options
context:
space:
mode:
authorYoshihiro Takahashi <nyan@FreeBSD.org>2003-05-02 14:55:42 +0000
committerYoshihiro Takahashi <nyan@FreeBSD.org>2003-05-02 14:55:42 +0000
commitef2495bf5e29cf05ef092fa811ddc934e24c8147 (patch)
tree8a6471228a08a66ab82905f9bc17b10d99a30712 /usr.sbin/boot98cfg
parent93f307bbeae058eb65d1f7fff38d0fccfb139b4b (diff)
downloadsrc-ef2495bf5e29cf05ef092fa811ddc934e24c8147.tar.gz
src-ef2495bf5e29cf05ef092fa811ddc934e24c8147.zip
s/DIOCGPC98/DIOCSPC98/
Notes
Notes: svn path=/head/; revision=114535
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 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;
}