aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2021-05-03 14:37:03 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2021-05-03 14:37:03 +0000
commit3f4239ed15527fd13af31801fe831f05b673703b (patch)
tree9cde7d4883d113e61987dcead7a8a53aa4fe315d /lib
parentb2d08c24d50a7b1ff3b30f6a5c34cb4e5a155326 (diff)
downloadsg3_utils-3f4239ed15527fd13af31801fe831f05b673703b.tar.gz
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
Diffstat (limited to 'lib')
-rw-r--r--lib/sg_pt_common.c4
-rw-r--r--lib/sg_pt_freebsd.c4
-rw-r--r--lib/sg_pt_win32.c3
3 files changed, 6 insertions, 5 deletions
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 <stdio.h>
#include <stdlib.h>
@@ -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 <stdio.h>
#include <stdlib.h>
@@ -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__);