s/DIOCGPC98/DIOCSPC98/
This commit is contained in:
parent
93f307bbea
commit
ef2495bf5e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=114535
@ -154,9 +154,9 @@ write_boot(const char *disk, u_char *boot)
|
|||||||
fd = open(buf, O_RDONLY);
|
fd = open(buf, O_RDONLY);
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
continue;
|
continue;
|
||||||
n = ioctl(fd, DIOCGPC98, boot);
|
n = ioctl(fd, DIOCSPC98, boot);
|
||||||
if (n != 0)
|
if (n != 0)
|
||||||
err(1, "%s: ioctl DIOCGPC98", disk);
|
err(1, "%s: ioctl DIOCSPC98", disk);
|
||||||
close(fd);
|
close(fd);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user