Module Name:    src
Committed By:   martin
Date:           Tue Jan 15 10:18:38 UTC 2013

Modified Files:
        src/sys/arch/vax/vax: syscall.c

Log Message:
Make this compile with TRAPDEBUG enabled.
Pointed out by Holm Tiffe.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/vax/vax/syscall.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/vax/vax/syscall.c
diff -u src/sys/arch/vax/vax/syscall.c:1.21 src/sys/arch/vax/vax/syscall.c:1.22
--- src/sys/arch/vax/vax/syscall.c:1.21	Sun Feb 19 21:06:33 2012
+++ src/sys/arch/vax/vax/syscall.c	Tue Jan 15 10:18:38 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: syscall.c,v 1.21 2012/02/19 21:06:33 rmind Exp $     */
+/*	$NetBSD: syscall.c,v 1.22 2013/01/15 10:18:38 martin Exp $     */
 
 /*
  * Copyright (c) 1994 Ludd, University of Lule}, Sweden.
@@ -33,7 +33,7 @@
  /* All bugs are subject to removal without further notice */
 		
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.21 2012/02/19 21:06:33 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.22 2013/01/15 10:18:38 martin Exp $");
 
 #include "opt_multiprocessor.h"
 
@@ -77,7 +77,7 @@ syscall(struct trapframe *tf)
 
 	TDB(("trap syscall %s pc %lx, psl %lx, sp %lx, pid %d, frame %p\n",
 	    syscallnames[tf->tf_code], tf->tf_pc, tf->tf_psl,tf->tf_sp,
-	    p->p_pid,frame));
+	    p->p_pid,tf));
 
 	curcpu()->ci_data.cpu_nsyscall++;
  
@@ -111,7 +111,7 @@ syscall(struct trapframe *tf)
 
 	TDB(("return %s pc %lx, psl %lx, sp %lx, pid %d, err %d r0 %d, r1 %d, "
 	    "tf %p\n", syscallnames[tf->tf_code], tf->tf_pc, tf->tf_psl,
-	    tf->tf_sp, p->p_pid, error, rval[0], rval[1], exptr));
+	    tf->tf_sp, p->p_pid, error, rval[0], rval[1], tf));
 bad:
 	switch (error) {
 	case 0:

Reply via email to