aboutsummaryrefslogtreecommitdiff
path: root/lib/sg_pt_win32.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2018-02-11 05:01:16 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2018-02-11 05:01:16 +0000
commit5bdce507b09d32f452a390c22cb98ae7f840c151 (patch)
tree40f080676d587b650cfa3133e7dcf3ab3084af0c /lib/sg_pt_win32.c
parent4a5962a81447bb60cca7e51dd005b3bdaab1452b (diff)
downloadsg3_utils-5bdce507b09d32f452a390c22cb98ae7f840c151.tar.gz
fix compile error in sg_pt_win32.c when NVME_IGNORE; sg_raw: add --cmdfile=CF option
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@752 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'lib/sg_pt_win32.c')
-rw-r--r--lib/sg_pt_win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sg_pt_win32.c b/lib/sg_pt_win32.c
index e70a349d..0796837c 100644
--- a/lib/sg_pt_win32.c
+++ b/lib/sg_pt_win32.c
@@ -5,7 +5,7 @@
* license that can be found in the BSD_LICENSE file.
*/
-/* sg_pt_win32 version 1.21 20180207 */
+/* sg_pt_win32 version 1.22 20180210 */
#include <stdio.h>
#include <stdlib.h>
@@ -2757,7 +2757,7 @@ do_nvme_pt(struct sg_pt_win32_scsi * psp, struct sg_pt_handle * shp,
if (vb)
pr2ws("%s: not supported [time_secs=%d]\n", __func__, time_secs);
if (psp) { ; } /* suppress warning */
- if (dhp) { ; } /* suppress warning */
+ if (shp) { ; } /* suppress warning */
return -ENOTTY; /* inappropriate ioctl error */
}