From 30363466e3580cae5f428c9bf35caa934cef469b Mon Sep 17 00:00:00 2001 From: Douglas Gilbert Date: Mon, 7 Jun 2021 15:21:01 +0000 Subject: sg_vpd: fix do_hex type on some recent pages; sg_dd: don't close negative file descriptors; pt_linux_nvme: fix fua setting git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@903 6180dd3e-e324-4e3e-922d-17de1ae2f315 --- lib/sg_pt_freebsd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/sg_pt_freebsd.c') diff --git a/lib/sg_pt_freebsd.c b/lib/sg_pt_freebsd.c index 918197c6..b6af6704 100644 --- a/lib/sg_pt_freebsd.c +++ b/lib/sg_pt_freebsd.c @@ -7,7 +7,7 @@ * SPDX-License-Identifier: BSD-2-Clause */ -/* sg_pt_freebsd version 1.43 20210503 */ +/* sg_pt_freebsd version 1.44 20210601 */ #include #include @@ -2514,7 +2514,7 @@ sntl_rread(struct sg_pt_freebsd_scsi * ptp, const uint8_t * cdbp, bool is_read10 = (SCSI_READ10_OPC == cdbp[0]); bool have_fua = !!(cdbp[1] & 0x8); int err; - uint32_t nblks_t10 = 0; + uint32_t nblks_t10 = 0; /* 'control' in upper 16 bits */ uint64_t lba; struct nvme_pt_command npc; uint8_t * npc_up = (uint8_t *)&npc; -- cgit v1.2.3