Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/pc532/pc532 make this compile again



details:   https://anonhg.NetBSD.org/src/rev/9b02c4a04e8e
branches:  trunk
changeset: 554980:9b02c4a04e8e
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Nov 06 02:25:07 2003 +0000

description:
make this compile again

diffstat:

 sys/arch/pc532/pc532/machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 1c00ccf95c6e -r 9b02c4a04e8e sys/arch/pc532/pc532/machdep.c
--- a/sys/arch/pc532/pc532/machdep.c    Thu Nov 06 00:58:17 2003 +0000
+++ b/sys/arch/pc532/pc532/machdep.c    Thu Nov 06 02:25:07 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.150 2003/11/06 00:58:17 christos Exp $   */
+/*     $NetBSD: machdep.c,v 1.151 2003/11/06 02:25:07 christos Exp $   */
 
 /*-
  * Copyright (c) 1982, 1987, 1990 The Regents of the University of California.
@@ -75,7 +75,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.150 2003/11/06 00:58:17 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.151 2003/11/06 02:25:07 christos Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -420,7 +420,7 @@
            ? _UC_SETSTACK : _UC_CLRSTACK;
        frame.sf_uc.uc_sigmask = *mask;
        frame.sf_uc.uc_link = NULL;
-       (void)memset(&frame.sf_uc.uc_stack, 0, sizeof(uc.uc_stack));
+       (void)memset(&frame.sf_uc.uc_stack, 0, sizeof(frame.sf_uc.uc_stack));
        cpu_getmcontext(l, &frame.sf_uc.uc_mcontext, &frame.sf_uc.uc_flags);
 
        if (copyout(&frame, fp, sizeof(frame)) != 0) {



Home | Main Index | Thread Index | Old Index