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/add Clarify the "OS mismatch" message:
details: https://anonhg.NetBSD.org/src/rev/80558a299f21
branches: trunk
changeset: 574619:80558a299f21
user: agc <agc%NetBSD.org@localhost>
date: Sun Mar 06 23:40:41 2005 +0000
description:
Clarify the "OS mismatch" message:
+ state that it is simply a warning
+ make it clearer what the mismatch is
diffstat:
usr.sbin/pkg_install/add/perform.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r cd5d57e01e71 -r 80558a299f21 usr.sbin/pkg_install/add/perform.c
--- a/usr.sbin/pkg_install/add/perform.c Sun Mar 06 23:06:40 2005 +0000
+++ b/usr.sbin/pkg_install/add/perform.c Sun Mar 06 23:40:41 2005 +0000
@@ -1,11 +1,11 @@
-/* $NetBSD: perform.c,v 1.106 2005/02/04 09:03:02 jlam Exp $ */
+/* $NetBSD: perform.c,v 1.107 2005/03/06 23:40:41 agc Exp $ */
#include <sys/cdefs.h>
#ifndef lint
#if 0
static const char *rcsid = "from FreeBSD Id: perform.c,v 1.44 1997/10/13 15:03:46 jkh Exp";
#else
-__RCSID("$NetBSD: perform.c,v 1.106 2005/02/04 09:03:02 jlam Exp $");
+__RCSID("$NetBSD: perform.c,v 1.107 2005/03/06 23:40:41 agc Exp $");
#endif
#endif
@@ -383,7 +383,7 @@
}
if (status != Good) {
- warnx("Package `%s' OS mismatch:", pkg);
+ warnx("Warning: package `%s' was built for a different version of the OS:", pkg);
warnx("%s/%s %s (pkg) vs. %s/%s %s (this host)",
buildinfo[BI_OPSYS],
buildinfo[BI_MACHINE_ARCH],
Home |
Main Index |
Thread Index |
Old Index