diff options
author | Elliott Hughes <enh@google.com> | 2015-10-31 13:01:37 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-11-02 01:39:35 -0600 |
commit | 3c0f6a19a271a7b85d62fc85d0ac1c6f661849f2 (patch) | |
tree | 0c0b2b75cfcf364198e451143344995a9a3abd60 /toys/lsb/md5sum.c | |
parent | 45e0acc110465175afc678ee103f2f5c4e6b270f (diff) | |
download | toybox-3c0f6a19a271a7b85d62fc85d0ac1c6f661849f2.tar.gz |
Make ps -o error reporting intelligible.
I actually thought ps was segfaulting, and it wasn't until I was in gdb
that I even noticed there was an error message at all, and even then I
had to read the source to work out what it was trying to tell me.
Before:
$ ps -o user,pid,ppid,vsize,rss,nice,wchan,addr,unknown,stat,cmd
ps: -o 'user,pid,ppid,vsize,rss,nice,wchan,addr,unknown,stat,cmd'@41
USER PID PPID VSZ RSS NI WCHAN ADDR$
After:
$ ps -o user,pid,ppid,vsize,rss,nice,wchan,addr,unknown,stat,cmd
ps: bad -o field 'user,pid,ppid,vsize,rss,nice,wchan,addr,unknown,stat,cmd'
^
Diffstat (limited to 'toys/lsb/md5sum.c')
0 files changed, 0 insertions, 0 deletions