diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2003-03-11 01:12:10 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2003-03-11 01:12:10 +0000 |
commit | 1d3bb6e70d057b4908eb44385dcd5a855ed4438d (patch) | |
tree | 94edebbe5dbe1030d27268344d253d32e157150c /lib/libform | |
parent | 845e57ed72574a2cf445b5dfe8a725d975f48b0d (diff) |
Fix incorrect restriction on valid scsi tape density code values, allowing all
currently valid values (0 - 0xff) to be used in mt(1). Add sanity
check to catch negative values.
Minor cleanup so mt_count values are stored in daddr_t variables and
not ints. Eliminate unnecessary cast of mt_op, since it is already a
shot. Leave possible move of mt_count to int32_t rather than daddr_t
to post-3.3.
Problem found, and original diff by Joseph Bender.
costa@ henning@ tdeval@ ok
Diffstat (limited to 'lib/libform')
0 files changed, 0 insertions, 0 deletions