Re: [3/8] kill gen_init_cpio.c printk() of size_t warning

From: H. Peter Anvin
Date: Mon Jan 03 2005 - 19:04:51 EST


Followup to: <87oeg6t8t5.fsf@xxxxxxxxxxxx>
By author: Ben Pfaff <blp@xxxxxxxxxxxxxxx>
In newsgroup: linux.dev.kernel
>
> Al Viro <viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> writes:
>
> > Egads... Just use %zd for size_t.
>
> %zu?
>

Right, %zu for size_t, %zd for ssize_t.

-hpa
-
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/