diff options
author | Hyejin Kim <hyejin0906.kim@samsung.com> | 2015-08-12 11:22:10 +0900 |
---|---|---|
committer | Hyejin Kim <hyejin0906.kim@samsung.com> | 2015-08-12 11:22:10 +0900 |
commit | c55b214458bed6f6c6dc57e3fccfc8dc8558e7ee (patch) | |
tree | 393225b618c69acab92208a350c401c408fcc252 /toys/pending/ps.c | |
parent | c353de2e55d0f64f4b11dbc242f8319674650c54 (diff) | |
parent | 05499787ca89fa4b017c2441e89020799f02e4c1 (diff) | |
download | toybox-c55b214458bed6f6c6dc57e3fccfc8dc8558e7ee.tar.gz toybox-c55b214458bed6f6c6dc57e3fccfc8dc8558e7ee.tar.bz2 toybox-c55b214458bed6f6c6dc57e3fccfc8dc8558e7ee.zip |
Merge remote-tracking branch 'toybox/master' into upstreamupstream
Diffstat (limited to 'toys/pending/ps.c')
-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 cb0f32c..29111d5 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); } } |