diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 16:06:22 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 16:06:22 -0700 |
commit | ba3e0e1accd8d5bb12eaeb0977429d8dc04f6d1e (patch) | |
tree | eb4bf83c8089640845cc5f695105e1446cab2f6d /fs/afs/inode.c | |
parent | 260a980317dac80182dd76140cf67c6e81d6d3dd (diff) | |
download | lwn-ba3e0e1accd8d5bb12eaeb0977429d8dc04f6d1e.tar.gz lwn-ba3e0e1accd8d5bb12eaeb0977429d8dc04f6d1e.zip |
[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/inode.c')
-rw-r--r-- | fs/afs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/afs/inode.c b/fs/afs/inode.c index 56ca8581b37f..c184a4ee5995 100644 --- a/fs/afs/inode.c +++ b/fs/afs/inode.c @@ -36,7 +36,7 @@ static int afs_inode_map_status(struct afs_vnode *vnode, struct key *key) _debug("FS: ft=%d lk=%d sz=%llu ver=%Lu mod=%hu", vnode->status.type, vnode->status.nlink, - vnode->status.size, + (unsigned long long) vnode->status.size, vnode->status.data_version, vnode->status.mode); |