From da5484899b5351b6ed79e61d5350c5f6381ef1b7 Mon Sep 17 00:00:00 2001 From: jraynard Date: Thu, 30 Oct 1997 00:10:52 +0000 Subject: Fix a couple of typos in documentation. PR: 4883 Submitted by: invis@visi.com --- share/doc/psd/20.ipctut/dgramsend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share/doc') 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); -- cgit v1.1