diff options
author | Theodore Ts'o <tytso@mit.edu> | 2003-12-07 01:28:50 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2003-12-07 01:28:50 -0500 |
commit | 544349270e4c74a6feb971123884a8cf5052a7ee (patch) | |
tree | 7c3c483148953f1cd5eadc9cf5eb6f7faabc31c5 /e2fsck/journal.c | |
parent | 3de085dd4109e6a7049dd6b85abf0313167cab5b (diff) | |
download | e2fsprogs-544349270e4c74a6feb971123884a8cf5052a7ee.tar.gz |
Fix gcc -Wall nitpicks
Diffstat (limited to 'e2fsck/journal.c')
-rw-r--r-- | e2fsck/journal.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/e2fsck/journal.c b/e2fsck/journal.c index 615bd3ea..c645f3be 100644 --- a/e2fsck/journal.c +++ b/e2fsck/journal.c @@ -101,8 +101,8 @@ void ll_rw_block(int rw, int nr, struct buffer_head *bhp[]) 1, bh->b_data); if (retval) { com_err(bh->b_ctx->device_name, retval, - "while reading block %ld\n", - bh->b_blocknr); + "while reading block %lu\n", + (unsigned long) bh->b_blocknr); bh->b_err = retval; continue; } @@ -115,8 +115,8 @@ void ll_rw_block(int rw, int nr, struct buffer_head *bhp[]) 1, bh->b_data); if (retval) { com_err(bh->b_ctx->device_name, retval, - "while writing block %ld\n", - bh->b_blocknr); + "while writing block %lu\n", + (unsigned long) bh->b_blocknr); bh->b_err = retval; continue; } |