diff options
author | jhb <jhb@FreeBSD.org> | 2013-01-18 18:24:40 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2013-01-18 18:24:40 +0000 |
commit | a757b0e056a396f4f674631a6e5eea6d29ed1087 (patch) | |
tree | aed2f3561e63278779cb00bbb800054d69c48e07 /bin/ps/extern.h | |
parent | b42e95f726ab4d12ba08b44e67e915c118e6597b (diff) | |
download | FreeBSD-src-a757b0e056a396f4f674631a6e5eea6d29ed1087.zip FreeBSD-src-a757b0e056a396f4f674631a6e5eea6d29ed1087.tar.gz |
Include the thread name along with the command name when displaying the
command name of a thread from a multi-threaded process that doesn't have
an available argument list (such as kernel processes) and threads display
is enabled via -H.
Reviewed by: alfred, delphij, eric@vangyzen.net
MFC after: 1 week
Diffstat (limited to 'bin/ps/extern.h')
-rw-r--r-- | bin/ps/extern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ps/extern.h b/bin/ps/extern.h index 930b85b..eb9b2cf 100644 --- a/bin/ps/extern.h +++ b/bin/ps/extern.h @@ -51,7 +51,7 @@ char *elapsed(KINFO *, VARENT *); char *elapseds(KINFO *, VARENT *); char *emulname(KINFO *, VARENT *); VARENT *find_varentry(VAR *); -const char *fmt_argv(char **, char *, size_t); +const char *fmt_argv(char **, char *, char *, size_t); double getpcpu(const KINFO *); char *kvar(KINFO *, VARENT *); char *label(KINFO *, VARENT *); |