aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/info/show.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_install/info/show.c')
-rw-r--r--usr.sbin/pkg_install/info/show.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_install/info/show.c b/usr.sbin/pkg_install/info/show.c
index 8e73e88fe100..b18c162b6c88 100644
--- a/usr.sbin/pkg_install/info/show.c
+++ b/usr.sbin/pkg_install/info/show.c
@@ -1,5 +1,5 @@
#ifndef lint
-static const char *rcsid = "$Id: show.c,v 1.3 1993/08/26 08:47:07 jkh Exp $";
+static const char *rcsid = "$Id: show.c,v 1.4 1993/09/04 05:06:44 jkh Exp $";
#endif
/*
@@ -32,7 +32,7 @@ show_file(char *title, char *fname)
char line[1024];
int n;
- printf(title);
+ printf("%s%s", InfoPrefix, title);
fp = fopen(fname, "r");
if (!fp) {
whinge("show_file: Can't open '%s' for reading.", fname);
@@ -51,7 +51,7 @@ show_plist(char *title, Package *plist, plist_t type)
PackingList p;
Boolean ign = FALSE;
- printf(title);
+ printf("%s%s", InfoPrefix, title);
p = plist->head;
while (p) {
if (p->type != type && type != -1) {