Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/amd64 Remove use of NULL as an integer value.
details: https://anonhg.NetBSD.org/src/rev/1fb62f796084
branches: trunk
changeset: 553916:1fb62f796084
user: fvdl <fvdl%NetBSD.org@localhost>
date: Wed Oct 22 22:51:36 2003 +0000
description:
Remove use of NULL as an integer value.
diffstat:
sys/arch/amd64/amd64/db_trace.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 8b268fc104fe -r 1fb62f796084 sys/arch/amd64/amd64/db_trace.c
--- a/sys/arch/amd64/amd64/db_trace.c Wed Oct 22 21:37:34 2003 +0000
+++ b/sys/arch/amd64/amd64/db_trace.c Wed Oct 22 22:51:36 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_trace.c,v 1.1 2003/04/26 18:39:27 fvdl Exp $ */
+/* $NetBSD: db_trace.c,v 1.2 2003/10/22 22:51:36 fvdl Exp $ */
/*
* Mach Operating System
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.1 2003/04/26 18:39:27 fvdl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_trace.c,v 1.2 2003/10/22 22:51:36 fvdl Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -275,7 +275,7 @@
sym = db_search_symbol(callpc, DB_STGY_ANY, &offset);
db_symbol_values(sym, &name, NULL);
- if (lastframe == 0 && sym == NULL) {
+ if (lastframe == 0 && sym == 0) {
/* Symbol not found, peek at code */
long instr = db_get_value(callpc, 8, FALSE);
Home |
Main Index |
Thread Index |
Old Index