Re: [PATCH resend 1/2] bcache: Use %zi to format size_t

From: Geert Uytterhoeven
Date: Mon Feb 03 2014 - 13:49:34 EST


On Mon, Feb 3, 2014 at 6:34 PM, Ian Pilcher <arequipeno@xxxxxxxxx> wrote:
> Shouldn't size_t use %zu?

Technically yes. %zi/%zd prints signed numbers (ssize_t), while %zu prints
unsigned (size_t).

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/