Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sgimips/dev Oooops, iaa.iaa_name must be initialized.



details:   https://anonhg.NetBSD.org/src/rev/bedded44f4fc
branches:  trunk
changeset: 569779:bedded44f4fc
user:      sekiya <sekiya%NetBSD.org@localhost>
date:      Sun Sep 05 13:32:10 2004 +0000

description:
Oooops, iaa.iaa_name must be initialized.

diffstat:

 sys/arch/sgimips/dev/imc.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 393a42a7a0e3 -r bedded44f4fc sys/arch/sgimips/dev/imc.c
--- a/sys/arch/sgimips/dev/imc.c        Sun Sep 05 11:48:34 2004 +0000
+++ b/sys/arch/sgimips/dev/imc.c        Sun Sep 05 13:32:10 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: imc.c,v 1.21 2004/09/05 11:48:34 sekiya Exp $  */
+/*     $NetBSD: imc.c,v 1.22 2004/09/05 13:32:10 sekiya Exp $  */
 
 /*
  * Copyright (c) 2001 Rafal K. Boni
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imc.c,v 1.21 2004/09/05 11:48:34 sekiya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imc.c,v 1.22 2004/09/05 13:32:10 sekiya Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -241,6 +241,7 @@
 
        memset(&iaa, 0, sizeof(iaa));
 
+       iaa.iaa_name = "gio";
        config_found_ia(self, "giobus", (void*)&iaa, imc_print);
 
        imc_watchdog_enable();



Home | Main Index | Thread Index | Old Index