Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/sparc64 Fix NULL assignment to an integer f...



details:   https://anonhg.NetBSD.org/src/rev/2e816ce676ff
branches:  trunk
changeset: 553743:2e816ce676ff
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Tue Oct 21 01:54:23 2003 +0000

description:
Fix NULL assignment to an integer field.

diffstat:

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

diffs (27 lines):

diff -r f266e785599c -r 2e816ce676ff sys/arch/sparc64/sparc64/netbsd32_machdep.c
--- a/sys/arch/sparc64/sparc64/netbsd32_machdep.c       Tue Oct 21 01:45:25 2003 +0000
+++ b/sys/arch/sparc64/sparc64/netbsd32_machdep.c       Tue Oct 21 01:54:23 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_machdep.c,v 1.38 2003/10/14 00:28:19 christos Exp $   */
+/*     $NetBSD: netbsd32_machdep.c,v 1.39 2003/10/21 01:54:23 fvdl Exp $       */
 
 /*
  * Copyright (c) 1998, 2001 Matthew R. Green
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.38 2003/10/14 00:28:19 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.39 2003/10/21 01:54:23 fvdl Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -142,7 +142,7 @@
 
        stack -= sizeof(struct rwindow32);
        tf->tf_out[6] = stack;
-       tf->tf_out[7] = NULL;
+       tf->tf_out[7] = 0;
 }
 
 /*



Home | Main Index | Thread Index | Old Index