mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Fix sign extension.
PR: 21232 Obtained from: Christian Weisgerber <naddy@mips.inka.de>
This commit is contained in:
parent
a708ce6fa3
commit
cbd8ecd6ac
1 changed files with 1 additions and 1 deletions
|
|
@ -497,7 +497,7 @@ setdumpnum()
|
|||
rmtioctl(MTFSF, dumpnum - 1);
|
||||
else
|
||||
#endif
|
||||
if (ioctl(mt, (int)MTIOCTOP, (char *)&tcom) < 0)
|
||||
if (ioctl(mt, MTIOCTOP, (char *)&tcom) < 0)
|
||||
fprintf(stderr, "ioctl MTFSF: %s\n", strerror(errno));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue