diff options
author | Rob Landley <rob@landley.net> | 2015-07-20 22:20:35 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-07-20 22:20:35 -0500 |
commit | 2699cad55fbe657a17cb25d5e5da2f010816fc45 (patch) | |
tree | e299e55bc61aca1827d6ea183133207d3eb4b2e5 /toys/pending | |
parent | 8d6cbd494809f510c7947faa1db5a24cab130cf3 (diff) | |
download | toybox-0.6.0.tar.gz |
Fix llvm build break.0.6.0
Diffstat (limited to 'toys/pending')
-rw-r--r-- | toys/pending/ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/pending/ps.c b/toys/pending/ps.c index cb0f32c0..29111d57 100644 --- a/toys/pending/ps.c +++ b/toys/pending/ps.c @@ -312,7 +312,7 @@ void ps_main(void) if (j!=2) break; } if (i == ARRAY_LEN(typos)) error_exit("bad -o %.*s", end-type, type); - if (!field->title) strcpy(field->title, typos[field->which]); + if (!*field->title) strcpy(field->title, typos[field->which]); dlist_add_nomalloc((void *)&TT.fields, (void *)field); } } |