diff --git a/sbin/restore/tape.c b/sbin/restore/tape.c index 21ac8b11294f..602ce61a81aa 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)); }