mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Oops, DIOCGPC98 should be DIOCSPC98.
This commit is contained in:
parent
711ccd049d
commit
f67666fcb7
1 changed files with 1 additions and 1 deletions
|
|
@ -904,7 +904,7 @@ write_disk(off_t sector, void *buf)
|
|||
|
||||
#ifdef PC98
|
||||
if (fdw != -1) {
|
||||
return ioctl(fdw, DIOCGPC98, buf);
|
||||
return ioctl(fdw, DIOCSPC98, buf);
|
||||
} else {
|
||||
lseek(fd,(sector * 512), 0);
|
||||
/* write out in the size that the read_disk found worked */
|
||||
|
|
|
|||
Loading…
Reference in a new issue