summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjraynard <jraynard@FreeBSD.org>1997-11-09 00:48:01 +0000
committerjraynard <jraynard@FreeBSD.org>1997-11-09 00:48:01 +0000
commit73454caef19493ac459a1f716f90120f144497ab (patch)
tree29163c7aaedf738f09401578bac7f61970c44bfe
parent00ef31d9b54322056a9879b7b198636ec7812ebf (diff)
downloadFreeBSD-src-73454caef19493ac459a1f716f90120f144497ab.zip
FreeBSD-src-73454caef19493ac459a1f716f90120f144497ab.tar.gz
Make fix for PR 4883 consistent with other similar cases.
-rw-r--r--share/doc/psd/20.ipctut/dgramsend.c2
-rw-r--r--share/doc/psd/20.ipctut/streamwrite.c2
2 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 4c4d6c5..4bd1e5a 100644
--- a/share/doc/psd/20.ipctut/dgramsend.c
+++ b/share/doc/psd/20.ipctut/dgramsend.c
@@ -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);
diff --git a/share/doc/psd/20.ipctut/streamwrite.c b/share/doc/psd/20.ipctut/streamwrite.c
index 07a3528..6205f13 100644
--- a/share/doc/psd/20.ipctut/streamwrite.c
+++ b/share/doc/psd/20.ipctut/streamwrite.c
@@ -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);
OpenPOWER on IntegriCloud