Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 2000 14:50:02 -0700 (PDT)
From:      Matthew Jacob <mjacob@feral.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/21232: "restore -s" broken on 64-bit archs
Message-ID:  <200009122150.OAA60599@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/21232; it has been noted by GNATS.

From: Matthew Jacob <mjacob@feral.com>
To: Christian Weisgerber <naddy@mips.inka.de>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/21232: "restore -s" broken on 64-bit archs
Date: Tue, 12 Sep 2000 14:36:17 -0700 (PDT)

 > 
 > Index: restore/tape.c
 > ===================================================================
 > RCS file: /home/ncvs/src/sbin/restore/tape.c,v
 > retrieving revision 1.17
 > diff -u -r1.17 tape.c
 > --- restore/tape.c	2000/07/16 23:22:15	1.17
 > +++ restore/tape.c	2000/09/12 20:40:10
 > @@ -497,7 +497,7 @@
 >  		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));
 >  }
 >  
 
 Good sleuthing- looks like this has always been there. Thanks.
 
 -matt
 
 
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009122150.OAA60599>