mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
oops
This commit is contained in:
parent
22157b7a34
commit
ee51985f90
2 changed files with 4 additions and 2 deletions
|
@ -285,7 +285,9 @@ to occur and there is an error,
|
|||
a negative value
|
||||
.RB ( Beof )
|
||||
is returned.
|
||||
Otherwise, the number of bytes output is returned.
|
||||
Otherwise,
|
||||
.I Bprint
|
||||
returns zero.
|
||||
.I Bvprint
|
||||
does the same except it takes as argument a
|
||||
.B va_list
|
||||
|
|
|
@ -1512,7 +1512,7 @@ printpartindented(String *s, char *part, char *indent)
|
|||
if(interrupted)
|
||||
break;
|
||||
p[Blinelen(b)-1] = 0;
|
||||
if(Bprint(&out, "%s%s\n", indent, p) <= 0)
|
||||
if(Bprint(&out, "%s%s\n", indent, p) < 0)
|
||||
break;
|
||||
}
|
||||
Bprint(&out, "\n");
|
||||
|
|
Loading…
Reference in a new issue