src/liboping.c: Beautify two debugging messages.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Tue, 17 Feb 2009 12:16:02 +0000 (13:16 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Tue, 17 Feb 2009 12:16:02 +0000 (13:16 +0100)
Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
src/liboping.c

index 6ffb482..ec66a95 100644 (file)
@@ -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);
 }