diff --git a/sbin/kldstat/kldstat.c b/sbin/kldstat/kldstat.c index 957a2a2d5d15..2469999f6f8e 100644 --- a/sbin/kldstat/kldstat.c +++ b/sbin/kldstat/kldstat.c @@ -37,11 +37,7 @@ __FBSDID("$FreeBSD$"); #include #include -#if defined(__alpha__) -#define POINTER_WIDTH 18 -#else -#define POINTER_WIDTH 10 -#endif +#define POINTER_WIDTH (sizeof(void *) > 4 ? 18 : 10) static void printmod(int modid)