Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ddb no, should be dst
details: https://anonhg.NetBSD.org/src/rev/e06eb96862f2
branches: trunk
changeset: 836730:e06eb96862f2
user: maxv <maxv%NetBSD.org@localhost>
date: Fri Nov 02 11:59:59 2018 +0000
description:
no, should be dst
diffstat:
sys/ddb/db_proc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r efd22272ecf3 -r e06eb96862f2 sys/ddb/db_proc.c
--- a/sys/ddb/db_proc.c Fri Nov 02 08:59:59 2018 +0000
+++ b/sys/ddb/db_proc.c Fri Nov 02 11:59:59 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_proc.c,v 1.7 2018/11/02 08:59:59 maxv Exp $ */
+/* $NetBSD: db_proc.c,v 1.8 2018/11/02 11:59:59 maxv Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_proc.c,v 1.7 2018/11/02 08:59:59 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_proc.c,v 1.8 2018/11/02 11:59:59 maxv Exp $");
#ifndef _KERNEL
#include <stdbool.h>
@@ -114,7 +114,7 @@
for (i = 0; i < len; i++) {
db_read_bytes((db_addr_t)&src[i], 1, &dst[i]);
- if (src[i] == '\0')
+ if (dst[i] == '\0')
break;
}
}
Home |
Main Index |
Thread Index |
Old Index