mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 15:12:44 +00:00
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);
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user