Typo in error message.

This commit is contained in:
brian 1997-12-30 20:02:50 +00:00
parent 810009c3fe
commit 3e41ec11fb

View File

@ -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;
}