diff options
| author | James Raynard <jraynard@FreeBSD.org> | 1997-10-30 00:10:52 +0000 |
|---|---|---|
| committer | James Raynard <jraynard@FreeBSD.org> | 1997-10-30 00:10:52 +0000 |
| commit | df6e5f12e92d8243359ffe9490bb9d5b742d6c52 (patch) | |
| tree | 1706c43f6a137f97f84e888403a599757ea1d860 /share/doc | |
| parent | cac2057a29117641625e55abc6d7a114ae033381 (diff) | |
Notes
Diffstat (limited to 'share/doc')
| -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 909f71dfd534..3b8c750e7d27 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); |
