diff options
Diffstat (limited to 'sbin')
-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)); } |