mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-31 16:57:10 +00:00
Fix fprintf() here too.
This commit is contained in:
parent
6e4802b80e
commit
3e0ae19f52
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34105
@ -65,7 +65,7 @@ main(argc, argv)
|
||||
server.sin_family = AF_INET;
|
||||
hp = gethostbyname(argv[1]);
|
||||
if (hp == 0) {
|
||||
fprintf(stderr, "%s: unknown host\en", argv[1]);
|
||||
fprintf(stderr, "%s: unknown host\n", argv[1]);
|
||||
exit(2);
|
||||
}
|
||||
bcopy(hp->h_addr, &server.sin_addr, hp->h_length);
|
||||
|
Loading…
Reference in New Issue
Block a user