udev/scsi_id: fix incorrect page length when get device identification VPD page
authorZhang Xianwei <zhang.xianwei8@zte.com.cn>
Mon, 13 May 2019 10:41:55 +0000 (18:41 +0800)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 22 May 2019 04:25:20 +0000 (13:25 +0900)
commit1f7b6872dbe8ccae1f3bda9aa6aeb87c9b42e01e
tree0460bc3237a4e69a2bd8c32a09a4e6ce6ec6921b
parentb94fb24b2e9905ffeacb1a1041d6933b2e26bea0
udev/scsi_id: fix incorrect page length when get device identification VPD page

The length of device identification VPD page is filled with two bytes,
but scsi_id only gets the low byte. Fix it.

Signed-off-by: Zhang Xianwei <zhang.xianwei8@zte.com.cn>
src/udev/scsi_id/scsi_serial.c