Make fix for PR 4883 consistent with other similar cases.

This commit is contained in:
James Raynard 1997-11-09 00:48:01 +00:00
parent e4b172e407
commit ac905c6e4d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=31047
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ main(argc, argv)
*/
hp = gethostbyname(argv[1]);
if (hp == 0) {
fprintf(stderr, "%s: unknown host\n", argv[1]);
fprintf(stderr, "%s: unknown host\en", argv[1]);
exit(2);
}
bcopy(hp->h_addr, &name.sin_addr, hp->h_length);

View File

@ -65,7 +65,7 @@ main(argc, argv)
server.sin_family = AF_INET;
hp = gethostbyname(argv[1]);
if (hp == 0) {
fprintf(stderr, "%s: unknown host\n", argv[1]);
fprintf(stderr, "%s: unknown host\en", argv[1]);
exit(2);
}
bcopy(hp->h_addr, &server.sin_addr, hp->h_length);