[xfs-masters] [PATCH 1/9] lib/vsprintf.c: Add %pU to print UUID/GUIDs

Geert Uytterhoeven geert at linux-m68k.org
Thu Oct 1 02:10:07 CDT 2009


On Tue, Sep 29, 2009 at 07:01, Joe Perches <joe at perches.com> wrote:
> UUID/GUIDs are somewhat common in kernel source.
>
> Standardize the printed style of UUID/GUIDs by using
> another extension to %p.
>
> %pU:    01020304-0506-0708-090a-0b0c0d0e0f10
> %pUr:   04030201-0605-0807-090a-0b0c0d0e0f10
> %pU[r]X:Use upper case hex

To me, it looks a bit strange to have the options after the `U', combined with
the variable-length nature.

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

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



More information about the xfs-masters mailing list