Skip to content
Snippets Groups Projects
Commit d90ccd30 authored by Walter Poxon's avatar Walter Poxon
Browse files

b=15732

i=walter

Land Andreas' original fix for catamount build errors
parent 5fb14d5f
No related branches found
No related tags found
No related merge requests found
...@@ -196,8 +196,8 @@ int class_attach(struct lustre_cfg *lcfg) ...@@ -196,8 +196,8 @@ int class_attach(struct lustre_cfg *lcfg)
len = strlen(uuid); len = strlen(uuid);
if (len >= sizeof(obd->obd_uuid)) { if (len >= sizeof(obd->obd_uuid)) {
CERROR("uuid must be < "LPSZ" bytes long\n", CERROR("uuid must be < %d bytes long\n",
sizeof(obd->obd_uuid)); (int)sizeof(obd->obd_uuid));
GOTO(out, rc = -EINVAL); GOTO(out, rc = -EINVAL);
} }
memcpy(obd->obd_uuid.uuid, uuid, len); memcpy(obd->obd_uuid.uuid, uuid, len);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment