mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-23 01:14:52 +01:00
Make fix for PR 4883 consistent with other similar cases.
This commit is contained in:
parent
e4b172e407
commit
ac905c6e4d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=31047
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user