Whamcloud - gitweb
b=15732
authorwalter <walter>
Sat, 10 May 2008 15:26:07 +0000 (15:26 +0000)
committerwalter <walter>
Sat, 10 May 2008 15:26:07 +0000 (15:26 +0000)
i=walter

Land Andreas' original fix for catamount build errors

lustre/obdclass/obd_config.c

index ccaa00d..7cbba44 100644 (file)
@@ -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);