From 504205a4a1b39c8c14279a6c146e57524dcdd81f Mon Sep 17 00:00:00 2001
From: walter <walter>
Date: Tue, 2 Oct 2007 01:20:30 +0000
Subject: [PATCH] b=13541 i=green i=adilger

---
 lustre/lvfs/lvfs_lib.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lustre/lvfs/lvfs_lib.c b/lustre/lvfs/lvfs_lib.c
index 55e4e6f860..219d83ba4b 100644
--- a/lustre/lvfs/lvfs_lib.c
+++ b/lustre/lvfs/lvfs_lib.c
@@ -35,8 +35,8 @@ int obd_alloc_fail(const void *ptr, const char *name, const char *type,
 {
         if (ptr == NULL ||
             (ll_rand() & OBD_ALLOC_FAIL_MASK) < obd_alloc_fail_rate) {
-                CERROR("%s%salloc of %s (%u bytes) failed at %s:%d\n",
-                       ptr ? "force " :"", type, name, (unsigned int)size, file,
+                CERROR("%s%salloc of %s ("LPU64" bytes) failed at %s:%d\n",
+                       ptr ? "force " :"", type, name, (__u64)size, file,
                        line);
                 CERROR("%d total bytes allocated by Lustre, %d by Portals\n",
                        atomic_read(&obd_memory), atomic_read(&libcfs_kmemory));
-- 
GitLab