i=adilger
fix compile warnings which are treated as errors on Cray XT3 catamount
build
*
* We can only get here if lsm_stripe_count was originally > 1.
*/
*
* 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);
if (rc < sizeof(*md->lsm)) {
CDEBUG(D_INFO, "lsm size too small: "
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);
}
GOTO(out, rc = -EPROTO);
}