Whamcloud - gitweb
e2fsck: print unsigned RAM usage statistics
authorAndreas Dilger <adilger@sun.com>
Tue, 28 Oct 2008 20:44:21 +0000 (14:44 -0600)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 7 Apr 2009 17:39:24 +0000 (13:39 -0400)
commit611378fe20777da83fcc8fe77ff2c515b7dc1e42
treee50a34b8e51469510fe975c82630e1aaeb0d8d1e
parentd9ff474b742f700e049f336f055918060f21a543
e2fsck: print unsigned RAM usage statistics

Running e2fsck against a 14.5TB filesystem with -tt it reported
-200904kB for RAM usage in pass3 instead of the correct 2300773kB.
The RAM usage statistics were being printed with %d instead of %u.

Also fix a few places using %ld for inode numbers instead of %lu.

Signed-off-by: Andreas Dilger <adilger@sun.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
e2fsck/util.c