diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-13 12:02:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-13 12:02:29 +0000 |
commit | 0559008ce863c3709d5186f1b594cda0fcd877e8 (patch) | |
tree | 17cf6d9846ceaf765e443064d77f223c2a6a80be /src/pass.c | |
parent | Adding debian version 0.36-1. (diff) | |
download | nwipe-0559008ce863c3709d5186f1b594cda0fcd877e8.tar.xz nwipe-0559008ce863c3709d5186f1b594cda0fcd877e8.zip |
Merging upstream version 0.37.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/pass.c')
-rw-r--r-- | src/pass.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -324,7 +324,7 @@ int nwipe_random_pass( NWIPE_METHOD_SIGNATURE ) /* For the first block only, check the prng actually wrote something to the buffer */ if( z == c->device_size ) { - idx = c->device_stat.st_blksize; + idx = c->device_stat.st_blksize - 1; while( idx > 0 ) { if( b[idx] != 0 ) |