summaryrefslogtreecommitdiffstats
path: root/sbin/kldstat/kldstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/kldstat/kldstat.c')
-rw-r--r--sbin/kldstat/kldstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/kldstat/kldstat.c b/sbin/kldstat/kldstat.c
index 2469999..ce5ebf4 100644
--- a/sbin/kldstat/kldstat.c
+++ b/sbin/kldstat/kldstat.c
@@ -37,7 +37,7 @@ __FBSDID("$FreeBSD$");
#include <sys/module.h>
#include <sys/linker.h>
-#define POINTER_WIDTH (sizeof(void *) > 4 ? 18 : 10)
+#define POINTER_WIDTH ((int)(sizeof(void *) * 2 + 2))
static void
printmod(int modid)
OpenPOWER on IntegriCloud