mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
w: Unlike err(3), xo_err(3) won't accept a null format string.
MFC after: 1 week
X-MFC-with: d90ff31ae5
Sponsored by: Klara, Inc.
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D38192
This commit is contained in:
parent
a7b1b73935
commit
6fc1bbbf62
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue