Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/dev/systrace fix reversed test.
details: https://anonhg.NetBSD.org/src/rev/20cb2cb0c64c
branches: trunk
changeset: 336681:20cb2cb0c64c
user: christos <christos%NetBSD.org@localhost>
date: Tue Mar 10 12:17:50 2015 +0000
description:
fix reversed test.
diffstat:
external/cddl/osnet/dev/systrace/systrace.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 13ec752083eb -r 20cb2cb0c64c external/cddl/osnet/dev/systrace/systrace.c
--- a/external/cddl/osnet/dev/systrace/systrace.c Tue Mar 10 09:26:49 2015 +0000
+++ b/external/cddl/osnet/dev/systrace/systrace.c Tue Mar 10 12:17:50 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: systrace.c,v 1.6 2015/03/07 17:47:09 christos Exp $ */
+/* $NetBSD: systrace.c,v 1.7 2015/03/10 12:17:50 christos Exp $ */
/*
* CDDL HEADER START
@@ -142,7 +142,7 @@
uintptr_t uargs[SYS_MAXSYSARGS + 3];
memset(uargs, 0, sizeof(uargs));
- if (ret) {
+ if (ret == NULL) {
/* entry syscall, convert params */
systrace_args(sysnum, params, uargs, &n_args);
} else {
Home |
Main Index |
Thread Index |
Old Index