From 3535ff5eb9765767539ec59af2f879875d827d69 Mon Sep 17 00:00:00 2001 From: atatat Date: Thu, 16 Jan 2003 15:34:18 +0000 Subject: [PATCH] Print the string as if it's a string. Don't print the pointer. It's useless for the non-omniscient (who, by definition, would have no need for this program anyway). --- usr.bin/pmap/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/pmap/main.c b/usr.bin/pmap/main.c index 159fc46f8d80..a9ed0e86bbe9 100644 --- a/usr.bin/pmap/main.c +++ b/usr.bin/pmap/main.c @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.2 2003/01/09 13:05:12 atatat Exp $ */ +/* $NetBSD: main.c,v 1.3 2003/01/16 15:34:18 atatat Exp $ */ /* * Copyright (c) 2002, 2003 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ #include #ifndef lint -__RCSID("$NetBSD: main.c,v 1.2 2003/01/09 13:05:12 atatat Exp $"); +__RCSID("$NetBSD: main.c,v 1.3 2003/01/16 15:34:18 atatat Exp $"); #endif #include @@ -351,7 +351,7 @@ load_symbols(kvm_t *kd) if (rc != 0) { for (i = 0; ksyms[i].n_name != NULL; i++) if (ksyms[i].n_value == 0) - warnx("symbol %p: not found", ksyms[i].n_name); + warnx("symbol %s: not found", ksyms[i].n_name); exit(1); }