mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
avoid broken print (Gabriel Diaz)
This commit is contained in:
parent
2b03bf696c
commit
dc6f9f033a
1 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,8 @@ addrule(char *head, Word *tail, char *body, Word *ahead, int attr, int hline, ch
|
|||
void
|
||||
dumpr(char *s, Rule *r)
|
||||
{
|
||||
if(r == nil)
|
||||
return;
|
||||
Bprint(&bout, "%s: start=%ld shelltype=%s shellcmd=%s\n",
|
||||
s, r, r->shellt->name, wtos(r->shellcmd, ' '));
|
||||
for(; r; r = r->next){
|
||||
|
|
Loading…
Reference in a new issue