Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sup/source If we fail due to not being able to look...
details: https://anonhg.NetBSD.org/src/rev/64497661f691
branches: trunk
changeset: 483542:64497661f691
user: abs <abs%NetBSD.org@localhost>
date: Sun Mar 12 12:16:49 2000 +0000
description:
If we fail due to not being able to lookup our own hostname, display the
name in question in an attempt to reduce the number of people who have to ask
how to get sup working...
diffstat:
usr.sbin/sup/source/scm.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 6b91fcbb4271 -r 64497661f691 usr.sbin/sup/source/scm.c
--- a/usr.sbin/sup/source/scm.c Sun Mar 12 12:08:16 2000 +0000
+++ b/usr.sbin/sup/source/scm.c Sun Mar 12 12:16:49 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: scm.c,v 1.9 2000/01/21 17:08:37 mycroft Exp $ */
+/* $NetBSD: scm.c,v 1.10 2000/03/12 12:16:49 abs 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