summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-11-04 02:58:39 +0000
committerjhb <jhb@FreeBSD.org>2001-11-04 02:58:39 +0000
commitc22f597592f03e8421e5f1bf38a19abc5ee12daf (patch)
tree8f72418b82f0ab1017ffae92318c4977457e3339 /sys/boot
parent076014359dcf8817121981ba8abc6ae9a4a01c00 (diff)
downloadFreeBSD-src-c22f597592f03e8421e5f1bf38a19abc5ee12daf.zip
FreeBSD-src-c22f597592f03e8421e5f1bf38a19abc5ee12daf.tar.gz
Print out 'foo devices:' as the line before displaying a group of
devices in 'lsdev' output rather than printing out a pointer to the print function since the user really could care less about the pointer value. Perhaps this was intended to be a debugging printf?
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/common/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/common/commands.c b/sys/boot/common/commands.c
index 34b31a2..75b60bc 100644
--- a/sys/boot/common/commands.c
+++ b/sys/boot/common/commands.c
@@ -469,7 +469,7 @@ command_lsdev(int argc, char *argv[])
pager_open();
for (i = 0; devsw[i] != NULL; i++) {
if (devsw[i]->dv_print != NULL){
- sprintf(line, "%s @ %p\n", devsw[i]->dv_name, devsw[i]->dv_print);
+ sprintf(line, "%s devices:\n", devsw[i]->dv_name);
if (pager_output(line))
break;
devsw[i]->dv_print(verbose);
OpenPOWER on IntegriCloud