[PATCH] ocfs2: fix -Wformat warnings when building UML on x86-64
commit6b7a6c94c9c15b2664b568ead83e6b3aaf60d65c
authorJeff Mahoney <jeffm@suse.com>
Tue, 21 Feb 2006 16:57:30 +0000 (21 11:57 -0500)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 1 Mar 2006 19:15:49 +0000 (1 11:15 -0800)
tree4df54f212e9fce05125929f6da25f1661f0d2246
parent96789ac4b3943fec27fb6bf2713633b01a3903ad
[PATCH] ocfs2: fix -Wformat warnings when building UML on x86-64

 The check to determine which format string is appopriate for u64 and
 friends works in most cases, but UML on x86_64 doesn't define CONFIG_X86_64,
 so it results in screen fulls of compile-time warnings.

 This patch fixes it to handle that case.

 fs/ocfs2/cluster/masklog.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/cluster/masklog.h