On Sun, 2014-06-22 at 11:14 +0800, Chen Gang wrote: > For subtraction between 2 pointers, the result's type is 'long', so > need use '%lx' instead of '%zx'.
result should be a ptrdiff_t so please use %tx -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/