summaryrefslogtreecommitdiff
path: root/lib/libc/net/res_random.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-06-27 10:14:03 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-06-27 10:14:03 +0000
commit8a09d59a7250c0c59dbe3620ded67110c48b556a (patch)
tree4edccc9e47e18111a34ef9b1edf5d3268d08d032 /lib/libc/net/res_random.c
parent1c721a73ef08637f36f035a2aecfee40a0d958e5 (diff)
%d -> %u. mostly in #ifdef DEBUG.
Diffstat (limited to 'lib/libc/net/res_random.c')
-rw-r--r--lib/libc/net/res_random.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/net/res_random.c b/lib/libc/net/res_random.c
index 7a7d0bd6777..c739e4a9521 100644
--- a/lib/libc/net/res_random.c
+++ b/lib/libc/net/res_random.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: res_random.c,v 1.11 2002/02/19 19:39:36 millert Exp $ */
+/* $OpenBSD: res_random.c,v 1.12 2002/06/27 10:14:02 itojun Exp $ */
/*
* Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
@@ -212,12 +212,12 @@ main(int argc, char **argv)
res_initid();
- printf("Generator: %d\n", ru_g);
- printf("Seed: %d\n", ru_seed);
+ printf("Generator: %u\n", ru_g);
+ printf("Seed: %u\n", ru_seed);
printf("Reseed at %ld\n", ru_reseed);
- printf("Ru_X: %d\n", ru_x);
- printf("Ru_A: %d\n", ru_a);
- printf("Ru_B: %d\n", ru_b);
+ printf("Ru_X: %u\n", ru_x);
+ printf("Ru_A: %u\n", ru_a);
+ printf("Ru_B: %u\n", ru_b);
n = atoi(argv[1]);
for (i=0;i<n;i++) {