diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2018-05-15 20:44:45 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2018-05-15 20:44:45 +0000 |
commit | 856fb91355bddbe7a15a9d11334c354d8ee7b6d3 (patch) | |
tree | 9446f14be2d17b1f0449a466e0762a9a3361ca7b /src/sg_persist.c | |
parent | 71e56cc16387a76971a04fda4ff9306ec704daf9 (diff) | |
download | sg3_utils-856fb91355bddbe7a15a9d11334c354d8ee7b6d3.tar.gz |
cleanup of error messages around sg_cmds_open_device(); add flock error msg for ddpt
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@772 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_persist.c')
-rw-r--r-- | src/sg_persist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sg_persist.c b/src/sg_persist.c index 81f81117..8ff8bf0b 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.63 20180326"; +static const char * version_str = "0.64 20180511"; #define PRIN_RKEY_SA 0x0 @@ -1282,7 +1282,7 @@ main(int argc, char * argv[]) fini: if (ret && (0 == op->verbose) && (! flagged)) { - if (! sg_if_can2stderr("", ret)) + if (! sg_if_can2stderr("sg_persist failed: ", ret)) pr2serr("Some error occurred [%d]\n", ret); } if (sg_fd >= 0) { |