diff options
author | Eitan Adler <eadler@FreeBSD.org> | 2018-06-06 07:13:27 +0000 |
---|---|---|
committer | Eitan Adler <eadler@FreeBSD.org> | 2018-06-06 07:13:27 +0000 |
commit | 59c8d5dc27ef811c2739e9bcc76999853ca784e0 (patch) | |
tree | 5a474ca3ae1094e45ee78d497d62a0fd81f000bd /usr.bin/top | |
parent | 1fdbfb909fa976ece3655bea8f4bc419aeed732b (diff) | |
download | src-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.c | 2 |
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"); |