diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2022-04-21 02:37:15 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2022-04-21 02:37:15 +0000 |
commit | 8cd2200ba1758cd127a1b95ab1808cde4f56713c (patch) | |
tree | 81f7e8e9c995548351865b77c13092ebf40d7174 /src/sg_dd.c | |
parent | f26bb872bf4f043a1b817c808a6947fcb03ecda4 (diff) | |
download | sg3_utils-8cd2200ba1758cd127a1b95ab1808cde4f56713c.tar.gz |
sg_opcodes: add --inhex=FN to process earlier -HHH, add experimental --json[=JO] option; sg_turs: change nanosleep() to Sleep() in MinGW
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@945 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_dd.c')
-rw-r--r-- | src/sg_dd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sg_dd.c b/src/sg_dd.c index 65f76985..10ede6fd 100644 --- a/src/sg_dd.c +++ b/src/sg_dd.c @@ -70,7 +70,7 @@ #include "sg_unaligned.h" #include "sg_pr2serr.h" -static const char * version_str = "6.32 20220118"; +static const char * version_str = "6.33 20220418"; #define ME "sg_dd: " @@ -1803,7 +1803,6 @@ main(int argc, char * argv[]) int ret = 0; int64_t skip = 0; int64_t seek = 0; - int64_t out2_off = 0; int64_t in_num_sect = -1; int64_t out_num_sect = -1; char * key; @@ -2486,7 +2485,6 @@ main(int argc, char * argv[]) break; } bytes_of2 = res; - out2_off += res; } if (oflag.sparse && (dd_count > blocks) && |