CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2016/03/11 10:12:17

Modified files:
        sys/scsi       : st.c 

Log message:
"if (_3btol(cmd->len) != 0)" is more likely to be a useful test than
"if (cmd->len) != 0)", as cmd->len is a 3 byte array.

Broken since media_blkno accounting was introduced in r1.72 (2007!).
Might fix some obscure tape issues around miscounting variable sized blocks.

Spotted by mmcc@ and his friend clang.

Reply via email to