From 92a6a76c516983c28b44884534d0bfdb03b1e39f Mon Sep 17 00:00:00 2001 From: PartialVolume Date: Wed, 8 Apr 2020 22:24:09 +0100 Subject: [PATCH] Fix minor error in reporting block size in log Fix a minor error in the reporting of the discs total number of blocks. This only affects reporting to the log file and does not affect the programs operation. --- src/nwipe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nwipe.c b/src/nwipe.c index 5b6143a..8c6398e 100644 --- a/src/nwipe.c +++ b/src/nwipe.c @@ -397,7 +397,7 @@ int main( int argc, char** argv ) if( c2[i]->device_size == 0 ) { nwipe_log( NWIPE_LOG_ERROR, - "%s, sect/blk/dev %llu/%i/%i", + "%s, sect/blk/dev %llu/%i/%llu", c2[i]->device_name, c2[i]->device_sector_size, c2[i]->device_block_size, @@ -408,7 +408,7 @@ int main( int argc, char** argv ) else { nwipe_log( NWIPE_LOG_NOTICE, - "%s, sect/blk/dev %llu/%i/%i", + "%s, sect/blk/dev %llu/%i/%llu", c2[i]->device_name, c2[i]->device_sector_size, c2[i]->device_block_size,