summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/ps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/ps.c b/utils/ps.c
index 992b467d..2abb92aa 100644
--- a/utils/ps.c
+++ b/utils/ps.c
@@ -328,6 +328,8 @@ main(int argc, char *argv[])
/* Select an explicit format string if FMT_STRING is a format
name. This is done here because parse_enum needs STATE. */
{
+ if (posix_fmt)
+ break;
const char *fmt_name (unsigned n)
{
return