summaryrefslogtreecommitdiff
path: root/man/2
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2009-02-19 09:49:46 +0000
committerCharles.Forsyth <devnull@localhost>2009-02-19 09:49:46 +0000
commit6049116fb66c9cd530ff90350fc92c0a80119ec9 (patch)
tree31a55554146871bd5eef1c29cbd962e24c40f2a7 /man/2
parent12ac827e529ef6383a8bf5d1b171f5009b669a43 (diff)
20090219-0949
Diffstat (limited to 'man/2')
-rw-r--r--man/2/bloomfilter2
-rw-r--r--man/2/dial8
-rw-r--r--man/2/itslib2
3 files changed, 6 insertions, 6 deletions
diff --git a/man/2/bloomfilter b/man/2/bloomfilter
index fe6046dd..8049fd63 100644
--- a/man/2/bloomfilter
+++ b/man/2/bloomfilter
@@ -81,7 +81,7 @@ the probability of a false positive would be
approximately 0.0063.
.EX
if(filter(array of byte s, 7, 6).X(A&~B, f).eq(None))
- sys->print("'%s' might be a member of f\\n", s);
+ sys->print("'%s' might be a member of f\en", s);
.EE
.SH SOURCE
.B /appl/lib/bloomfilter.b
diff --git a/man/2/dial b/man/2/dial
index b6c76e19..2398c17b 100644
--- a/man/2/dial
+++ b/man/2/dial
@@ -298,16 +298,16 @@ listener()
{
ac := dial->announce("tcp!*!9995");
if(ac == nil){
- sys->print("can't announce: %r\n");
+ sys->print("can't announce: %r\en");
exit;
}
for(;;){
lc := dial->listen(ac);
if(lc == nil){
- sys->print("listen: %r\n");
+ sys->print("listen: %r\en");
exit;
}
- sys->print("incoming: %s\n", hd ctext(lc));
+ sys->print("incoming: %s\en", hd ctext(lc));
spawn client(lc);
}
}
@@ -316,7 +316,7 @@ client(c: ref Connection)
{
dfd := dial->accept(c);
if(dfd == nil){
- sys->print("%s: can't accept: %r\n", c.dir);
+ sys->print("%s: can't accept: %r\en", c.dir);
exit;
}
buf := array[Sys->ATOMICIO] of byte;
diff --git a/man/2/itslib b/man/2/itslib
index 4b12bcd6..a1f62b49 100644
--- a/man/2/itslib
+++ b/man/2/itslib
@@ -92,7 +92,7 @@ init(ctxt: ref Draw->Context, argv: list of string)
report(sev: int, verb: int, msg: string)
{
if (tconf != nil) tconf.report(sev, verb, msg);
- else sys->print("%d:%s\n", sev, msg);
+ else sys->print("%d:%s\en", sev, msg);
}
.EE