diff options
Diffstat (limited to 'toys')
-rw-r--r-- | toys/posix/ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/ps.c b/toys/posix/ps.c index 665fbdd4..72b56cb5 100644 --- a/toys/posix/ps.c +++ b/toys/posix/ps.c @@ -565,7 +565,7 @@ static void show_ps(struct carveup *tb) // fields that can naturally be shorter abslen = abs(field->len); sign = field->len<0 ? -1 : 1; - if (field->which<=PS_BIT || extra) olen = strlen(out); + olen = strlen(out); if (field->which<=PS_BIT && olen>abslen) { // overflow but remember by how much extra += olen-abslen; |