Commit 6fc1bbbf authored by Dag-Erling Smørgrav's avatar Dag-Erling Smørgrav
Browse files

w: Unlike err(3), xo_err(3) won't accept a null format string.

MFC after:	1 week
X-MFC-with:	d90ff31a
Sponsored by:	Klara, Inc.
Reviewed by:	imp
Differential Revision:
parent a7b1b739
......@@ -400,7 +400,7 @@ main(int argc, char *argv[])
ep->args = fmt_argv(kvm_getargv(kd, ep->kp, argwidth),
ep->kp->ki_comm, NULL, MAXCOMLEN);
if (ep->args == NULL)
xo_err(1, NULL);
xo_err(1, "fmt_argv");
/* sort by idle time */
if (sortidle && ehead != NULL) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment