* fhandler_tape.cc (mtinfo_drive::set_pos): Remove unneeded linebreak.

(mtinfo_drive::get_status): Drop using get_ll when it's not required.
This commit is contained in:
Corinna Vinschen 2013-08-19 10:24:37 +00:00
parent cbd871ad41
commit 48199c0d39
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2013-08-19 Corinna Vinschen <corinna@vinschen.de>
* fhandler_tape.cc (mtinfo_drive::set_pos): Remove unneeded linebreak.
(mtinfo_drive::get_status): Drop using get_ll when it's not required.
2013-08-14 Corinna Vinschen <corinna@vinschen.de>
* include/sys/cygwin.h (struct per_process): Add posix_memalign. Reduce

View File

@ -392,8 +392,7 @@ mtinfo_drive::_set_pos (HANDLE mt, int mode, int32_t count, int partition,
}
int
mtinfo_drive::set_pos (HANDLE mt, int mode, int32_t count,
bool sfm_func)
mtinfo_drive::set_pos (HANDLE mt, int mode, int32_t count, bool sfm_func)
{
int err = 0;
int32_t undone = count;
@ -819,8 +818,8 @@ mtinfo_drive::get_status (HANDLE mt, struct mtget *get)
if (mp ()->WriteProtected)
get->mt_gstat |= GMT_WR_PROT (-1);
get->mt_capacity = get_ll (mp ()->Capacity);
get->mt_remaining = get_ll (mp ()->Remaining);
get->mt_capacity = mp ()->Capacity.QuadPart;
get->mt_remaining = mp ()->Remaining.QuadPart;
}
if (notape)