s/DIOCGPC98/DIOCSPC98/

This commit is contained in:
Yoshihiro Takahashi 2003-05-02 14:55:42 +00:00
parent 93f307bbea
commit ef2495bf5e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=114535

View File

@ -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;
}