summaryrefslogtreecommitdiff
path: root/usr.bin/top/machine.c
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2018-06-02 03:25:15 +0000
committerEitan Adler <eadler@FreeBSD.org>2018-06-02 03:25:15 +0000
commit0b2f6ed144f742a86ade461fa18dcc7b3bea3260 (patch)
treee11e562084d02dfe4f8153ba269d37ebc44cf672 /usr.bin/top/machine.c
parentdec8894b452dd67c33902cf30ff431fe9c830bb8 (diff)
downloadsrc-test2-0b2f6ed144f742a86ade461fa18dcc7b3bea3260.tar.gz
src-test2-0b2f6ed144f742a86ade461fa18dcc7b3bea3260.zip
Notes
Diffstat (limited to 'usr.bin/top/machine.c')
-rw-r--r--usr.bin/top/machine.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c
index 06889fd07b44..c168176177bd 100644
--- a/usr.bin/top/machine.c
+++ b/usr.bin/top/machine.c
@@ -35,6 +35,7 @@
#include <paths.h>
#include <pwd.h>
#include <stdio.h>
+#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
@@ -308,7 +309,7 @@ machine_init(struct statics *statics)
{
int i, j, empty, pagesize;
uint64_t arc_size;
- boolean_t carc_en;
+ bool carc_en;
size_t size;
size = sizeof(smpmode);