diff options
Diffstat (limited to 'procps')
-rw-r--r-- | procps/ps.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/procps/ps.c b/procps/ps.c index 1ab3973e7..cfca851cf 100644 --- a/procps/ps.c +++ b/procps/ps.c @@ -443,8 +443,7 @@ int ps_main(int argc ATTRIBUTE_UNUSED, char **argv) USE_SELINUX(opt =) getopt32(argv, "Zo:aAdefl", &opt_o); if (opt_o) { do { - parse_o(opt_o->data); - opt_o = opt_o->link; + parse_o(llist_pop(&opt_o)); } while (opt_o); } else { /* Below: parse_o() needs char*, NOT const char*... */ |