Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/sbus Initialize automatics in stp4020print(); notice...



details:   https://anonhg.NetBSD.org/src/rev/948c57e997ac
branches:  trunk
changeset: 467815:948c57e997ac
user:      pk <pk%NetBSD.org@localhost>
date:      Mon Mar 29 21:30:48 1999 +0000

description:
Initialize automatics in stp4020print(); noticed by Jonathan O'Brien.

diffstat:

 sys/dev/sbus/stp4020.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 655d3841df45 -r 948c57e997ac sys/dev/sbus/stp4020.c
--- a/sys/dev/sbus/stp4020.c    Mon Mar 29 20:44:07 1999 +0000
+++ b/sys/dev/sbus/stp4020.c    Mon Mar 29 21:30:48 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: stp4020.c,v 1.3 1999/02/27 22:21:13 pk Exp $ */
+/*     $NetBSD: stp4020.c,v 1.4 1999/03/29 21:30:48 pk Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -236,7 +236,7 @@
        void *aux;
        const char *busname;
 {
-       struct pcmciabus_attach_args *paa;
+       struct pcmciabus_attach_args *paa = aux;
        struct stp4020_socket *h = paa->pch;
 
        printf(" socket %d", h->sock);



Home | Main Index | Thread Index | Old Index