Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev Add missing field in static initialization.



details:   https://anonhg.NetBSD.org/src/rev/2ba90c82a4ae
branches:  trunk
changeset: 486324:2ba90c82a4ae
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri May 19 04:03:33 2000 +0000

description:
Add missing field in static initialization.

diffstat:

 sys/dev/cardbus/if_ex_cardbus.c |  3 ++-
 sys/dev/rnd.c                   |  5 +++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs (43 lines):

diff -r 8310af43be13 -r 2ba90c82a4ae sys/dev/cardbus/if_ex_cardbus.c
--- a/sys/dev/cardbus/if_ex_cardbus.c   Fri May 19 03:45:04 2000 +0000
+++ b/sys/dev/cardbus/if_ex_cardbus.c   Fri May 19 04:03:33 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ex_cardbus.c,v 1.13 2000/03/07 00:32:52 mycroft Exp $       */
+/*     $NetBSD: if_ex_cardbus.c,v 1.14 2000/05/19 04:03:58 thorpej Exp $       */
 
 /*
  * CardBus specific routines for 3Com 3C575-family CardBus ethernet adapter
@@ -143,6 +143,7 @@
        { 0,
          0,
          0,
+         0,
          NULL },
 };
 
diff -r 8310af43be13 -r 2ba90c82a4ae sys/dev/rnd.c
--- a/sys/dev/rnd.c     Fri May 19 03:45:04 2000 +0000
+++ b/sys/dev/rnd.c     Fri May 19 04:03:33 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rnd.c,v 1.17 2000/03/23 07:01:26 thorpej Exp $ */
+/*     $NetBSD: rnd.c,v 1.18 2000/05/19 04:03:33 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -133,6 +133,7 @@
 static rndsource_t rnd_source_no_collect = {
        { 'N', 'o', 'C', 'o', 'l', 'l', 'e', 'c', 't', 0, 0, 0, 0, 0, 0, 0 },
        0, 0, 0, 0,
+       RND_TYPE_UNKNOWN,
        (RND_FLAG_NO_COLLECT | RND_FLAG_NO_ESTIMATE | RND_TYPE_UNKNOWN),
        NULL
 };
@@ -274,7 +275,7 @@
        SIMPLEQ_INIT(&rnd_samples);
 
        pool_init(&rnd_mempool, sizeof(rnd_sample_t), 0, 0, 0, "rndsample",
-                 0, NULL, NULL, NULL);
+                 0, NULL, NULL, 0);
 
        rndpool_init(&rnd_pool);
 



Home | Main Index | Thread Index | Old Index