aboutsummaryrefslogtreecommitdiff
path: root/src/sg_persist.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2018-02-28 03:48:11 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2018-02-28 03:48:11 +0000
commit090d6026610616895444792b75d90861b3c968f9 (patch)
tree45519da51f3e6e59487148dda9a40b0c8099c563 /src/sg_persist.c
parentd421ee73f7d1eee168b1e87cf14a725f10edf6b9 (diff)
downloadsg3_utils-090d6026610616895444792b75d90861b3c968f9.tar.gz
sg_write_x: add --quiet option; fix sg_if_can2stdxxx problem when es=0; other cleanups
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@757 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_persist.c')
-rw-r--r--src/sg_persist.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sg_persist.c b/src/sg_persist.c
index 0e811789..339e91a3 100644
--- a/src/sg_persist.c
+++ b/src/sg_persist.c
@@ -33,7 +33,7 @@
#include "sg_unaligned.h"
#include "sg_pr2serr.h"
-static const char * version_str = "0.61 20180221";
+static const char * version_str = "0.62 20180226";
#define PRIN_RKEY_SA 0x0
@@ -1257,7 +1257,6 @@ main(int argc, char * argv[])
goto fini;
}
sg_cmds_close_device(sg_fd);
- sg_fd = -1;
}
if (! op->readwrite_force) {