Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Make this compilable again on ports without __HAVE_...



details:   https://anonhg.NetBSD.org/src/rev/676f46f170d4
branches:  trunk
changeset: 500424:676f46f170d4
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Dec 11 19:53:06 2000 +0000

description:
Make this compilable again on ports without __HAVE_SYSCALL_INTERN.

diffstat:

 sys/kern/kern_ktrace.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 6b2eaea7adde -r 676f46f170d4 sys/kern/kern_ktrace.c
--- a/sys/kern/kern_ktrace.c    Mon Dec 11 19:47:32 2000 +0000
+++ b/sys/kern/kern_ktrace.c    Mon Dec 11 19:53:06 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_ktrace.c,v 1.48 2000/12/11 16:39:01 mycroft Exp $ */
+/*     $NetBSD: kern_ktrace.c,v 1.49 2000/12/11 19:53:06 martin Exp $  */
 
 /*
  * Copyright (c) 1989, 1993
@@ -496,7 +496,9 @@
         */
        if (KTRPOINT(p, KTR_EMUL))
                ktremul(p);
+#ifdef __HAVE_SYSCALL_INTERN
        (*p->p_emul->e_syscall_intern)(p);
+#endif
 
        return (1);
 }



Home | Main Index | Thread Index | Old Index