* fhandler_tape.cc (fhandler_dev_tape::tape_erase): Set size

parameter to value expected by GetTapeParameters().
This commit is contained in:
Corinna Vinschen 2001-06-22 20:13:00 +00:00
parent 26da27a5f6
commit 3b295174e3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Fri Jun 22 16:12:00 2001 Corinna Vinschen <corinna@vinschen.de>
* fhandler_tape.cc (fhandler_dev_tape::tape_erase): Set size
parameter to value expected by GetTapeParameters().
Thu Jun 21 22:01:39 2001 Marius Gedminas <mgedmin@delfi.lt> Thu Jun 21 22:01:39 2001 Marius Gedminas <mgedmin@delfi.lt>
* fhandler_console.cc (fhandler_console::read): Detect AltGr more * fhandler_console.cc (fhandler_console::read): Detect AltGr more

View File

@ -670,7 +670,7 @@ fhandler_dev_tape::tape_get_blocksize (long *min, long *def, long *max, long *cu
while (((lasterr = GetTapeParameters (get_handle (), while (((lasterr = GetTapeParameters (get_handle (),
GET_TAPE_MEDIA_INFORMATION, GET_TAPE_MEDIA_INFORMATION,
(varlen = sizeof mp, &varlen), (varlen = sizeof dp, &varlen),
&mp)) == ERROR_MEDIA_CHANGED) &mp)) == ERROR_MEDIA_CHANGED)
|| (lasterr == ERROR_BUS_RESET)) || (lasterr == ERROR_BUS_RESET))
; ;