Signed-off-by: Josiah Worcester <josiahw@xxxxxxxxx> --- tests/helpers/test_sysinfo.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tests/helpers/test_sysinfo.c b/tests/helpers/test_sysinfo.c index cb7b66b..a8d80d8 100644 --- a/tests/helpers/test_sysinfo.c +++ b/tests/helpers/test_sysinfo.c @@ -28,7 +28,7 @@ typedef struct { int hlp_wordsize(void) { - printf("%d\n", __WORDSIZE); + printf("%d\n", CHAR_BIT*sizeof(void*)); return 0; } -- 1.7.5.3 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html