diff options
author | Simon Rettberg | 2020-07-21 15:47:28 +0200 |
---|---|---|
committer | Simon Rettberg | 2020-07-21 15:47:28 +0200 |
commit | e71e747cf7173f6fe4d1b113364c0e458e83f129 (patch) | |
tree | 7b14795ae448bc53a0f9bfb51ab53970871d6da7 /src/fuse/helper.c | |
parent | [FUSE] Fix a bunch of warnings (diff) | |
download | dnbd3-e71e747cf7173f6fe4d1b113364c0e458e83f129.tar.gz dnbd3-e71e747cf7173f6fe4d1b113364c0e458e83f129.tar.xz dnbd3-e71e747cf7173f6fe4d1b113364c0e458e83f129.zip |
[FUSE] Formatting
Diffstat (limited to 'src/fuse/helper.c')
-rw-r--r-- | src/fuse/helper.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fuse/helper.c b/src/fuse/helper.c index d81b08f..f54073b 100644 --- a/src/fuse/helper.c +++ b/src/fuse/helper.c @@ -18,8 +18,8 @@ void printLog( log_info *info ) } //rewind(file); - fprintf( logFile, "ImageSize: %"PRIu64" MiB\n", ( uint64_t )( info->imageSize/ ( 1024ll*1024ll ) ) ); - fprintf( logFile, "ReceivedMiB: %"PRIu64" MiB\n", ( uint64_t )( info->receivedBytes/ ( 1024ll*1024ll ) ) ); + fprintf( logFile, "ImageSize: %"PRIu64" MiB\n", (uint64_t)( info->imageSize/ ( 1024ll*1024ll ) ) ); + fprintf( logFile, "ReceivedMiB: %"PRIu64" MiB\n", (uint64_t)( info->receivedBytes/ ( 1024ll*1024ll ) ) ); fprintf( logFile, "imageBlockCount: %"PRIu64"\n", info->imageBlockCount ); fprintf( logFile, "Blocksize: 4KiB\n\n" ); fprintf( logFile, "Block access count:\n" ); @@ -29,7 +29,7 @@ void printLog( log_info *info ) if ( i % 50 == 0 ) { fprintf( logFile, "\n" ); } - fprintf( logFile, "%i ", ( int ) info->blockRequestCount[i] ); + fprintf( logFile, "%i ", (int) info->blockRequestCount[i] ); } fprintf( logFile, "\n" ); fclose( logFile ); |