diff --git a/lustre/obdclass/obd_config.c b/lustre/obdclass/obd_config.c index 54cdc8f73fa97963e2ab18e0d631fe9614af4415..eba45b5e22d01eb32a69604ecc7175cc2c3d7de2 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);