diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 19:06:22 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 19:06:22 -0400 |
commit | ba3e0e1accd8d5bb12eaeb0977429d8dc04f6d1e (patch) | |
tree | eb4bf83c8089640845cc5f695105e1446cab2f6d /fs/afs/dir.c | |
parent | 260a980317dac80182dd76140cf67c6e81d6d3dd (diff) |
[AFS]: Fix u64 printing in debug logging.
Need 'unsigned long long' casts to quiet warnings on
64-bit platforms when using %ll on a u64.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/afs/dir.c')
-rw-r--r-- | fs/afs/dir.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/afs/dir.c b/fs/afs/dir.c index dbbe75d6023b..dac5b990c0cd 100644 --- a/fs/afs/dir.c +++ b/fs/afs/dir.c | |||
@@ -419,7 +419,8 @@ static int afs_lookup_filldir(void *_cookie, const char *name, int nlen, | |||
419 | struct afs_lookup_cookie *cookie = _cookie; | 419 | struct afs_lookup_cookie *cookie = _cookie; |
420 | 420 | ||
421 | _enter("{%s,%Zu},%s,%u,,%llu,%u", | 421 | _enter("{%s,%Zu},%s,%u,,%llu,%u", |
422 | cookie->name, cookie->nlen, name, nlen, ino, dtype); | 422 | cookie->name, cookie->nlen, name, nlen, |
423 | (unsigned long long) ino, dtype); | ||
423 | 424 | ||
424 | /* insanity checks first */ | 425 | /* insanity checks first */ |
425 | BUILD_BUG_ON(sizeof(union afs_dir_block) != 2048); | 426 | BUILD_BUG_ON(sizeof(union afs_dir_block) != 2048); |