Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/pkg_install/lib suppress a diagnostic message unles...
details: https://anonhg.NetBSD.org/src/rev/a5dccc4be55b
branches: trunk
changeset: 556537:a5dccc4be55b
user: grant <grant%NetBSD.org@localhost>
date: Sat Dec 20 02:37:49 2003 +0000
description:
suppress a diagnostic message unless -v is used.
diffstat:
usr.sbin/pkg_install/lib/ftpio.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (24 lines):
diff -r 451a2e8cb741 -r a5dccc4be55b usr.sbin/pkg_install/lib/ftpio.c
--- a/usr.sbin/pkg_install/lib/ftpio.c Sat Dec 20 02:19:21 2003 +0000
+++ b/usr.sbin/pkg_install/lib/ftpio.c Sat Dec 20 02:37:49 2003 +0000
@@ -1,8 +1,8 @@
-/* $NetBSD: ftpio.c,v 1.60 2003/10/06 00:44:15 grant Exp $ */
+/* $NetBSD: ftpio.c,v 1.61 2003/12/20 02:37:49 grant Exp $ */
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: ftpio.c,v 1.60 2003/10/06 00:44:15 grant Exp $");
+__RCSID("$NetBSD: ftpio.c,v 1.61 2003/12/20 02:37:49 grant Exp $");
#endif
/*-
@@ -1163,7 +1163,8 @@
#if 0
path_create(pkg_path); /* XXX */
#endif
- printf("setenv PKG_PATH='%s'\n",pkg_path);
+ if (Verbose)
+ printf("setenv PKG_PATH='%s'\n", pkg_path);
}
if (strncmp(url, "http://", 7) == 0)
Home |
Main Index |
Thread Index |
Old Index