summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Raynard <jraynard@FreeBSD.org>1998-03-07 22:34:23 +0000
committerJames Raynard <jraynard@FreeBSD.org>1998-03-07 22:34:23 +0000
commit49ad8a1f2c4eed751eb901bfb8cfaf2f4bdfcbc6 (patch)
treebf14fe9b2690df46223fbb3087340156999f3cc8
parent8a9f6ff89dafdc85d2d7efc672b6378e02fd6d77 (diff)
Notes
-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 4c4d6c508ffc..4bd1e5a13015 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 07a35281e172..6205f135cf51 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);