summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/ppp/defs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/defs.c b/usr.sbin/ppp/defs.c
index 7ef92c3..979daa7 100644
--- a/usr.sbin/ppp/defs.c
+++ b/usr.sbin/ppp/defs.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: defs.c,v 1.8 1997/12/24 09:28:56 brian Exp $
+ * $Id: defs.c,v 1.9 1997/12/27 13:45:47 brian Exp $
*/
#include <sys/param.h>
@@ -89,7 +89,7 @@ GetShortHost()
char *p;
if (gethostname(VarShortHost, sizeof VarShortHost)) {
- LogPrintf(LogERROR, "GetShortHost: gethostbyname: %s\n", strerror(errno));
+ LogPrintf(LogERROR, "GetShortHost: gethostname: %s\n", strerror(errno));
return 0;
}
OpenPOWER on IntegriCloud