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.
This commit is contained in:
PartialVolume
2020-04-08 22:24:09 +01:00
parent 68ef665b2d
commit 92a6a76c51

View File

@@ -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,