From 3f4239ed15527fd13af31801fe831f05b673703b Mon Sep 17 00:00:00 2001 From: Douglas Gilbert Date: Mon, 3 May 2021 14:37:03 +0000 Subject: bump sg_pt library version number; doco tweaks git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@899 6180dd3e-e324-4e3e-922d-17de1ae2f315 --- lib/sg_pt_common.c | 4 ++-- lib/sg_pt_freebsd.c | 4 ++-- lib/sg_pt_win32.c | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) (limited to 'lib') diff --git a/lib/sg_pt_common.c b/lib/sg_pt_common.c index d469ef6a..60ecaa6c 100644 --- a/lib/sg_pt_common.c +++ b/lib/sg_pt_common.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2020 Douglas Gilbert. + * Copyright (c) 2009-2021 Douglas Gilbert. * All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the BSD_LICENSE file. @@ -31,7 +31,7 @@ #include "sg_pt_nvme.h" #endif -static const char * scsi_pt_version_str = "3.16 20200722"; +static const char * scsi_pt_version_str = "3.17 20210503"; const char * diff --git a/lib/sg_pt_freebsd.c b/lib/sg_pt_freebsd.c index c0ed71c7..5bccbd79 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.41 20210502 */ +/* sg_pt_freebsd version 1.42 20210503 */ #include #include @@ -1504,7 +1504,7 @@ cam_nvme: if (cam_send_ccb(fdc_p->cam_dev, ccb) < 0) { if (vb) { - pr2ws("%s: cam_send_ccb(NVME) %s ccb erro\n", __func__, + pr2ws("%s: cam_send_ccb(NVME) %s ccb error\n", __func__, (is_admin ? "Admin" : "NVM")); CAM_ERROR_PRINT(fdc_p->cam_dev, ccb, CAM_ESF_ALL, CAM_EPF_ALL, ferrp); diff --git a/lib/sg_pt_win32.c b/lib/sg_pt_win32.c index 4ed4a0ad..62a69309 100644 --- a/lib/sg_pt_win32.c +++ b/lib/sg_pt_win32.c @@ -7,7 +7,7 @@ * SPDX-License-Identifier: BSD-2-Clause */ -/* sg_pt_win32 version 1.33 20210103 */ +/* sg_pt_win32 version 1.34 20210503 */ #include #include @@ -1135,6 +1135,7 @@ scsi_pt_indirect(struct sg_pt_base * vp, struct sg_pt_handle * shp, DWORD returned; struct sg_pt_win32_scsi * psp = vp->implp; + psp->os_err = 0; if (0 == psp->swb_i.spt.CdbLength) { if (vb) pr2ws("%s: No command (cdb) given\n", __func__); -- cgit v1.2.3