projects
/
platform
/
upstream
/
toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d6cbd4
)
Fix llvm build break.
author
Rob Landley
<rob@landley.net>
Tue, 21 Jul 2015 03:20:35 +0000
(22:20 -0500)
committer
Rob Landley
<rob@landley.net>
Tue, 21 Jul 2015 03:20:35 +0000
(22:20 -0500)
toys/pending/ps.c
patch
|
blob
|
history
diff --git
a/toys/pending/ps.c
b/toys/pending/ps.c
index
cb0f32c
..
29111d5
100644
(file)
--- 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);
}
}