From 5288925756234ff8676e6bc4f0381984cc0223de Mon Sep 17 00:00:00 2001 From: mjacob Date: Tue, 12 Sep 2000 21:42:58 +0000 Subject: Fix sign extension. PR: 21232 Obtained from: Christian Weisgerber --- sbin/restore/tape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbin') 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)); } -- cgit v1.1