diff options
author | jraynard <jraynard@FreeBSD.org> | 1997-10-30 00:10:52 +0000 |
---|---|---|
committer | jraynard <jraynard@FreeBSD.org> | 1997-10-30 00:10:52 +0000 |
commit | da5484899b5351b6ed79e61d5350c5f6381ef1b7 (patch) | |
tree | b854886e8649db77b870552dc168f59821197c3a | |
parent | 226ae63eab51989e3c939e2beee656ec33f701c2 (diff) | |
download | FreeBSD-src-da5484899b5351b6ed79e61d5350c5f6381ef1b7.zip FreeBSD-src-da5484899b5351b6ed79e61d5350c5f6381ef1b7.tar.gz |
Fix a couple of typos in documentation.
PR: 4883
Submitted by: invis@visi.com
-rw-r--r-- | share/doc/psd/20.ipctut/dgramsend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/doc/psd/20.ipctut/dgramsend.c b/share/doc/psd/20.ipctut/dgramsend.c index 909f71d..3b8c750 100644 --- a/share/doc/psd/20.ipctut/dgramsend.c +++ b/share/doc/psd/20.ipctut/dgramsend.c @@ -61,13 +61,13 @@ main(argc, argv) } /* * Construct name, with no wildcards, of the socket to send to. - * Getnostbyname() returns a structure including the network address + * Gethostbyname() returns a structure including the network address * of the specified host. The port number is taken from the command * line. */ hp = gethostbyname(argv[1]); if (hp == 0) { - fprintf(stderr, "%s: unknown host\n", argv[1]); + fprintf(stderr, "%s: unknown host\\n", argv[1]); exit(2); } bcopy(hp->h_addr, &name.sin_addr, hp->h_length); |