Fix sign extension.
PR: 21232 Obtained from: Christian Weisgerber <naddy@mips.inka.de>
This commit is contained in:
parent
a708ce6fa3
commit
cbd8ecd6ac
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65786
@ -497,7 +497,7 @@ setdumpnum()
|
|||||||
rmtioctl(MTFSF, dumpnum - 1);
|
rmtioctl(MTFSF, dumpnum - 1);
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
if (ioctl(mt, (int)MTIOCTOP, (char *)&tcom) < 0)
|
if (ioctl(mt, MTIOCTOP, (char *)&tcom) < 0)
|
||||||
fprintf(stderr, "ioctl MTFSF: %s\n", strerror(errno));
|
fprintf(stderr, "ioctl MTFSF: %s\n", strerror(errno));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user