On 10/03/10 10:08, Pascal Terjan wrote:
blkid_loff_t is uint64 so use %llu not %zd in debug
Hmm it's int64 here. In general I find printing ints that vary depending on platform and config to be best supported on C99 with %j http://www.pixelbeat.org/programming/gcc/int_types/ So in this case: DBG(DEBUG_LOWPROBE, printf("ready for low-probing, offset=%jd, size=%jd\n", (intmax_t) pr->off, (intmax_t) pr->size)); cheers, Pádraig. -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html