Whamcloud - gitweb
libsupport: fix 32-bit quota test failures
authorTheodore Ts'o <tytso@mit.edu>
Sun, 13 Aug 2017 18:45:27 +0000 (14:45 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 13 Aug 2017 21:10:40 +0000 (17:10 -0400)
commit9e31a5696c4b699bf000a07b86601c1fb91c0493
tree5c29aabbf14aa042d27a19498ce4d1e0b0a9efca
parent2a13c84b513aa094d1cda727e92d35a89dd777da
libsupport: fix 32-bit quota test failures

On 32-bit platform some of the util_dqblk structures have a type of
long long.  So we need to use %lld and casts to make sure the right
thing happens on both 32-bit and 64-bit platforms.

Fixes: 968c1c2fe472ddc4a467aaff71305e83cdb0308f
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/support/mkquota.c