From 42cda5a925fc4943f270ec37e0975b75d9969fc2 Mon Sep 17 00:00:00 2001
From: walter <walter>
Date: Sat, 10 May 2008 15:24:50 +0000
Subject: [PATCH] b=15732 i=walter

Land andreas' 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 54cdc8f73f..eba45b5e22 100644
--- a/lustre/obdclass/obd_config.c
+++ b/lustre/obdclass/obd_config.c
@@ -214,8 +214,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