From: Florian Forster Date: Tue, 17 Feb 2009 12:16:02 +0000 (+0100) Subject: src/liboping.c: Beautify two debugging messages. X-Git-Tag: liboping-1.0.0~6 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=038430e5ac1c7d4f6aa0e8920b2b0373860fc46f;p=liboping.git src/liboping.c: Beautify two debugging messages. Signed-off-by: Florian Forster --- diff --git a/src/liboping.c b/src/liboping.c index 6ffb482..ec66a95 100644 --- a/src/liboping.c +++ b/src/liboping.c @@ -764,7 +764,7 @@ static int ping_get_ident (void) if (read (fd, &seed, sizeof (seed)) != -1) { did_seed = 1; - dprintf ("Random seed: %i\n", seed); + dprintf ("Random seed: %#x\n", seed); srandom (seed); } @@ -778,7 +778,7 @@ static int ping_get_ident (void) retval = (int) random (); - dprintf ("Random number: %i\n", retval); + dprintf ("Random number: %#x\n", retval); return (retval); }