summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-05-12 17:40:18 +0000
committerMiles Bader <miles@gnu.org>1996-05-12 17:40:18 +0000
commit75970e2496e44081007bbb21a8cf2c8ebd1153c7 (patch)
treeeac6ba18636c9f2ca240044cf1e2f81618390a58 /utils
parent8df2794da37c7c35facc538c358aa765925bd438 (diff)
(psout): When printing result of ps_fmt_creation_error, don't pass ERR to
error (it should already be in PROBLEM if necessary).
Diffstat (limited to 'utils')
-rw-r--r--utils/psout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/psout.c b/utils/psout.c
index e324bf8a..7f2b0591 100644
--- a/utils/psout.c
+++ b/utils/psout.c
@@ -42,7 +42,7 @@ psout (struct proc_stat_list *procs,
{
char *problem;
ps_fmt_creation_error (fmt_string, posix_fmt, specs, &problem);
- error (4, err, "%s", problem);
+ error (4, 0, "%s", problem);
}
if (squash_bogus_fields)