aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/top
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2018-06-06 07:13:27 +0000
committerEitan Adler <eadler@FreeBSD.org>2018-06-06 07:13:27 +0000
commit59c8d5dc27ef811c2739e9bcc76999853ca784e0 (patch)
tree5a474ca3ae1094e45ee78d497d62a0fd81f000bd /usr.bin/top
parent1fdbfb909fa976ece3655bea8f4bc419aeed732b (diff)
downloadsrc-59c8d5dc27ef811c2739e9bcc76999853ca784e0.tar.gz
src-59c8d5dc27ef811c2739e9bcc76999853ca784e0.zip
top(1): fix err again
I am amazed at my ability to get a one-line error reporting line wrong thrice.
Notes
Notes: svn path=/head/; revision=334706
Diffstat (limited to 'usr.bin/top')
-rw-r--r--usr.bin/top/machine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c
index ba6866d83e1d..d622c63ce3a4 100644
--- a/usr.bin/top/machine.c
+++ b/usr.bin/top/machine.c
@@ -379,7 +379,7 @@ machine_init(struct statics *statics)
GETSYSCTL("kern.smp.maxcpus", maxcpu);
times = calloc(maxcpu * CPUSTATES, sizeof(long));
if (times == NULL)
- err(1, "calloc for kern.smp.maxcpus", size);
+ err(1, "calloc for kern.smp.maxcpus");
size = sizeof(long) * maxcpu * CPUSTATES;
if (sysctlbyname("kern.cp_times", times, &size, NULL, 0) == -1)
err(1, "sysctlbyname kern.cp_times");