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/dtrace Fix wrong conditional stateme...
details: https://anonhg.NetBSD.org/src/rev/08beb479a356
branches: trunk
changeset: 327288:08beb479a356
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Tue Mar 04 03:20:49 2014 +0000
description:
Fix wrong conditional statement in dtrace_debug_output
Reported in PR kern/48547 by ozaki-r.
diffstat:
external/cddl/osnet/dev/dtrace/dtrace_debug.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r b94ca29094cb -r 08beb479a356 external/cddl/osnet/dev/dtrace/dtrace_debug.c
--- a/external/cddl/osnet/dev/dtrace/dtrace_debug.c Tue Mar 04 00:54:55 2014 +0000
+++ b/external/cddl/osnet/dev/dtrace/dtrace_debug.c Tue Mar 04 03:20:49 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dtrace_debug.c,v 1.6 2013/04/14 16:39:59 christos Exp $ */
+/* $NetBSD: dtrace_debug.c,v 1.7 2014/03/04 03:20:49 ozaki-r Exp $ */
/*-
* Copyright (C) 2008 John Birrell <jb%freebsd.org@localhost>.
@@ -167,7 +167,7 @@
for (p = d->first; p < d->next; p++)
*p1++ = *p;
- } else if (d->next > d->first) {
+ } else if (d->first > d->next) {
char *p1 = dtrace_debug_bufr;
count = (uintptr_t) d->last - (uintptr_t) d->first;
Home |
Main Index |
Thread Index |
Old Index