the lastbug fix?

This commit is contained in:
rsc 2004-04-21 07:38:03 +00:00
parent 8f8b0e542a
commit 92a0a8b69f
4 changed files with 12 additions and 9 deletions

View file

@ -180,7 +180,7 @@ dumpn(char *s, Node *n)
char buf[1024];
Arc *a;
sprint(buf, "%s ", (*s == ' ')? s:"");
snprint(buf, sizeof buf, "%s ", (*s == ' ')? s:"");
Bprint(&bout, "%s%s@%ld: time=%ld flags=0x%x next=%ld\n",
s, n->name, n, n->time, n->flags, n->next);
for(a = n->prereqs; a; a = a->next)