diff options
author | Theodore Ts'o <tytso@mit.edu> | 2016-06-02 22:40:41 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2016-06-02 22:40:41 -0400 |
commit | 377e3a96571b12d23662131b461a033618ab805c (patch) | |
tree | 89f8e1b3f06758cb94ef20048ce41b3f1479f93d /misc/e2fuzz.c | |
parent | 3dcb760f2a7ee6fd5730270be74a18a65b52cb0d (diff) | |
download | e2fsprogs-377e3a96571b12d23662131b461a033618ab805c.tar.gz |
misc: fix gcc -Wall complaints
Especially when compiling for a 32-bit architecture.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'misc/e2fuzz.c')
-rw-r--r-- | misc/e2fuzz.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/misc/e2fuzz.c b/misc/e2fuzz.c index 5e33239f..8576d4ee 100644 --- a/misc/e2fuzz.c +++ b/misc/e2fuzz.c @@ -276,8 +276,9 @@ static int process_fs(const char *fsname) if ((rand() % 2) && c < 128) c |= 0x80; if (verbose) - printf("Corrupting byte %zu in block %zu to 0x%x\n", - off % fs->blocksize, off / fs->blocksize, c); + printf("Corrupting byte %lld in block %lld to 0x%x\n", + (long long) off % fs->blocksize, + (long long) off / fs->blocksize, c); if (dryrun) continue; #ifdef HAVE_PWRITE64 |