From d90ccd305d7dbae8f6e48c0748798d3af038bacb Mon Sep 17 00:00:00 2001
From: walter <walter>
Date: Sat, 10 May 2008 15:26:07 +0000
Subject: [PATCH] b=15732 i=walter

Land Andreas' original fix for catamount build errors
---
 lustre/obdclass/obd_config.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lustre/obdclass/obd_config.c b/lustre/obdclass/obd_config.c
index ccaa00de1c..7cbba44eca 100644
--- a/lustre/obdclass/obd_config.c
+++ b/lustre/obdclass/obd_config.c
@@ -196,8 +196,8 @@ int class_attach(struct lustre_cfg *lcfg)
 
         len = strlen(uuid);
         if (len >= sizeof(obd->obd_uuid)) {
-                CERROR("uuid must be < "LPSZ" bytes long\n",
-                       sizeof(obd->obd_uuid));
+                CERROR("uuid must be < %d bytes long\n",
+                       (int)sizeof(obd->obd_uuid));
                 GOTO(out, rc = -EINVAL);
         }
         memcpy(obd->obd_uuid.uuid, uuid, len);
-- 
GitLab