summaryrefslogtreecommitdiff
path: root/procps/ps.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-02-17 18:11:45 +0000
committerDenis Vlasenko2007-02-17 18:11:45 +0000
commit54cf511ce1286ce46f04e4cead085b4af829f179 (patch)
treea43331e67e2472f7a8c415aee09ce17137d734a6 /procps/ps.c
parentec27feb04589d46233802f686559fb5f532fb2df (diff)
downloadbusybox-54cf511ce1286ce46f04e4cead085b4af829f179.zip
busybox-54cf511ce1286ce46f04e4cead085b4af829f179.tar.gz
sort: fix multiple -k (was ignoring all except last)
Diffstat (limited to 'procps/ps.c')
-rw-r--r--procps/ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/ps.c b/procps/ps.c
index a9da807..c06d333 100644
--- a/procps/ps.c
+++ b/procps/ps.c
@@ -253,7 +253,7 @@ int ps_main(int argc, char **argv)
opt_complementary = "o::";
getopt32(argc, argv, "o:aAdefl", &opt_o);
if (opt_o) {
- opt_o = rev_llist(opt_o);
+ opt_o = llist_rev(opt_o);
do {
parse_o(opt_o->data);
opt_o = opt_o->link;