summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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