Whamcloud - gitweb
e2fsck: fix type mismatches in quota warning message
authorEric Whitney <enwlinux@gmail.com>
Fri, 31 Mar 2017 23:21:59 +0000 (19:21 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 1 Apr 2017 16:15:55 +0000 (12:15 -0400)
commitf09669fc688951531ddddadd97d72aea7f48e741
treeb88202078b792a6f2b7e183b7b49ddb681dddd3c
parent8515abdca612a0446934ce1aa6fb164ac9527abf
e2fsck: fix type mismatches in quota warning message

The conversion operations in the format control strings found in the
fprintf call used to print the quota warning message do not match the
types of their corresponding arguments.  Although this probably hasn't
generally been a problem, it obfuscates a bigalloc quota accounting bug
where the reported actual quota goes negative.

Clean up the mismatches and some unnecessary casts.  While we're at it,
fix a spelling nit in a related comment.

Signed-off-by: Eric Whitney <enwlinux@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/support/mkquota.c