diff --git a/usr.sbin/ppp/defs.c b/usr.sbin/ppp/defs.c index 7ef92c3a19b3..979daa71dbc8 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 @@ -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; }