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

b=15732

i=adilger

fix compile warnings which are treated as errors on Cray XT3 catamount
build
parent 9a3d6c2e
No related branches found
No related tags found
No related merge requests found
......@@ -634,8 +634,9 @@ repeat_find:
*
* We can only get here if lsm_stripe_count was originally > 1.
*/
CERROR("can't lstripe objid "LPX64": have "LPSZ" want %u\n",
lsm->lsm_object_id, idx_pos - idx_arr, lsm->lsm_stripe_count);
CERROR("can't lstripe objid "LPX64": have %d want %u\n",
lsm->lsm_object_id, (int)(idx_pos - idx_arr),
lsm->lsm_stripe_count);
RETURN(-EFBIG);
}
......
......@@ -506,8 +506,8 @@ int mdc_get_lustre_md(struct obd_export *exp, struct ptlrpc_request *req,
if (rc < sizeof(*md->lsm)) {
CDEBUG(D_INFO, "lsm size too small: "
"rc < sizeof (*md->lsm) (%d < "LPSZ")\n",
rc, sizeof(*md->lsm));
"rc < sizeof (*md->lsm) (%d < %d)\n",
rc, (int)sizeof(*md->lsm));
GOTO(out, rc = -EPROTO);
}
......
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