From 70d66b181f76701be5d8f5e22f11392df9992782 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Thu, 3 Sep 2009 16:52:34 +0000 Subject: [PATCH] Fix for a problem found by Saar David : the missed << 24 added. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1073 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- usr/fileio/common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usr/fileio/common.c b/usr/fileio/common.c index 32f633b19..fc257ea04 100644 --- a/usr/fileio/common.c +++ b/usr/fileio/common.c @@ -354,6 +354,7 @@ static int do_exec(struct vdisk_cmd *vcmd) lba_start |= ((uint64_t)cdb[3]) << 48; lba_start |= ((uint64_t)cdb[4]) << 40; lba_start |= ((uint64_t)cdb[5]) << 32; + lba_start |= ((uint64_t)cdb[6]) << 24; lba_start |= ((uint64_t)cdb[6]) << 16; lba_start |= ((uint64_t)cdb[7]) << 8; lba_start |= ((uint64_t)cdb[8]);