diff --git a/lustre/utils/ll_recover_lost_found_objs.c b/lustre/utils/ll_recover_lost_found_objs.c index f9a08be5bbedb463ddf7b50d21555b83f9784257..449cfae5a2bcbd7c5884045ecaa02ced09b86d57 100644 --- a/lustre/utils/ll_recover_lost_found_objs.c +++ b/lustre/utils/ll_recover_lost_found_objs.c @@ -323,7 +323,7 @@ int check_last_id(char *mount_path) for (group = 0; group < MAX_GROUPS; group++) { max_objid = 0; - sprintf(dirname, "%s/O/"LPU64, mount_path, group); + sprintf(dirname, "%s/O/%llu", mount_path, group); strcpy(lastid_path, dirname); strcat(lastid_path, "/LAST_ID");