Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/usr.sbin/sup/source Pull up revision 1.10 (requested by...
details: https://anonhg.NetBSD.org/src/rev/70bdbf85bc3f
branches: netbsd-1-4
changeset: 470479:70bdbf85bc3f
user: he <he%NetBSD.org@localhost>
date: Wed Mar 29 20:47:59 2000 +0000
description:
Pull up revision 1.10 (requested by abs):
Improve error message when unable to look up local hostname.
diffstat:
usr.sbin/sup/source/scm.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 315464b78be1 -r 70bdbf85bc3f usr.sbin/sup/source/scm.c
--- a/usr.sbin/sup/source/scm.c Wed Mar 29 20:32:30 2000 +0000
+++ b/usr.sbin/sup/source/scm.c Wed Mar 29 20:47:59 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: scm.c,v 1.7.2.2 2000/01/23 12:03:37 he Exp $ */
+/* $NetBSD: scm.c,v 1.7.2.3 2000/03/29 20:47:59 he Exp $ */
/*
* Copyright (c) 1992 Carnegie Mellon University
@@ -466,7 +466,7 @@
char *name;
if ((name = myhost ()) == NULL)
- logquit (1,"Can't find my host entry");
+ logquit (1,"Can't find my host entry '%s'", myhost());
h = gethostbyname (host);
if (h == NULL) return (0);
return (strcasecmp (name,h->h_name) == 0);
Home |
Main Index |
Thread Index |
Old Index