diff options
author | mjacob <mjacob@FreeBSD.org> | 2000-09-12 21:42:58 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2000-09-12 21:42:58 +0000 |
commit | 5288925756234ff8676e6bc4f0381984cc0223de (patch) | |
tree | f731509bd8bb0505fa1f88e9852a0d2f95b82806 /sbin/restore | |
parent | 6ceabd7082167d6581d7a44a7e9df7f483861a25 (diff) | |
download | FreeBSD-src-5288925756234ff8676e6bc4f0381984cc0223de.zip FreeBSD-src-5288925756234ff8676e6bc4f0381984cc0223de.tar.gz |
Fix sign extension.
PR: 21232
Obtained from: Christian Weisgerber <naddy@mips.inka.de>
Diffstat (limited to 'sbin/restore')
-rw-r--r-- | sbin/restore/tape.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/restore/tape.c b/sbin/restore/tape.c index 21ac8b1..602ce61 100644 --- a/sbin/restore/tape.c +++ b/sbin/restore/tape.c @@ -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)); } |