Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Fix typo on my behalf. From Juergen Hannken-Illjes.



details:   https://anonhg.NetBSD.org/src/rev/04edba9a8386
branches:  trunk
changeset: 473016:04edba9a8386
user:      ad <ad%NetBSD.org@localhost>
date:      Sun May 16 21:19:33 1999 +0000

description:
Fix typo on my behalf. From Juergen Hannken-Illjes.

diffstat:

 sys/arch/sparc/dev/fb.c   |  4 ++--
 sys/arch/sparc64/dev/fb.c |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r b6c5a23f3374 -r 04edba9a8386 sys/arch/sparc/dev/fb.c
--- a/sys/arch/sparc/dev/fb.c   Sun May 16 20:58:49 1999 +0000
+++ b/sys/arch/sparc/dev/fb.c   Sun May 16 21:19:33 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fb.c,v 1.30 1999/05/15 13:04:03 ad Exp $ */
+/*     $NetBSD: fb.c,v 1.31 1999/05/16 21:19:33 ad Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -374,7 +374,7 @@
        int maxrow, maxcol;
 
        /* Set up what rasops needs to know about */
-       bzero(&ri, sizeof *ri);
+       bzero(ri, sizeof *ri);
        ri->ri_stride = fb->fb_linebytes;
        ri->ri_bits = (caddr_t)fb->fb_pixels;
        ri->ri_depth = fb->fb_type.fb_depth;
diff -r b6c5a23f3374 -r 04edba9a8386 sys/arch/sparc64/dev/fb.c
--- a/sys/arch/sparc64/dev/fb.c Sun May 16 20:58:49 1999 +0000
+++ b/sys/arch/sparc64/dev/fb.c Sun May 16 21:19:33 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fb.c,v 1.8 1999/05/15 13:04:03 ad Exp $ */
+/*     $NetBSD: fb.c,v 1.9 1999/05/16 21:19:33 ad Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -250,7 +250,7 @@
        int maxrow, maxcol;
 
        /* Set up what rasops needs to know about */
-       bzero(&ri, sizeof *ri);
+       bzero(ri, sizeof *ri);
        ri->ri_stride = fb->fb_linebytes;
        ri->ri_bits = (caddr_t)fb->fb_pixels;
        ri->ri_depth = fb->fb_type.fb_depth;



Home | Main Index | Thread Index | Old Index