From: Darrick J. Wong Date: Mon, 19 Jan 2015 21:38:14 +0000 (-0500) Subject: e2fuzz: fix clang warning X-Git-Tag: v1.43-WIP-2015-05-18~96 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32ed2b085c41f3ae0b8c399c2881b44266c5230b;p=thirdparty%2Fe2fsprogs.git e2fuzz: fix clang warning Signed-off-by: Darrick J. Wong Signed-off-by: Theodore Ts'o --- diff --git a/misc/e2fuzz.c b/misc/e2fuzz.c index c08e3dff2..f786eac46 100644 --- a/misc/e2fuzz.c +++ b/misc/e2fuzz.c @@ -273,7 +273,7 @@ int process_fs(const char *fsname) if ((rand() % 2) && c < 128) c |= 0x80; if (verbose) - printf("Corrupting byte %jd in block %jd to 0x%x\n", + printf("Corrupting byte %zu in block %zu to 0x%x\n", off % fs->blocksize, off / fs->blocksize, c); if (dryrun) continue;