From: walter Date: Sat, 10 May 2008 15:26:07 +0000 (+0000) Subject: b=15732 X-Git-Tag: v1_9_50~512 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=d90ccd305d7dbae8f6e48c0748798d3af038bacb;p=fs%2Flustre-release.git b=15732 i=walter Land Andreas' original fix for catamount build errors --- diff --git a/lustre/obdclass/obd_config.c b/lustre/obdclass/obd_config.c index ccaa00d..7cbba44 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);