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