From 35dbfd9b5d3ee4e20ee3b1ec5d14764260374519 Mon Sep 17 00:00:00 2001 From: Bogdano Arendartchuk Date: Tue, 1 Sep 2009 17:01:56 +0000 Subject: use %zu instead of %d in order to handle x86_64 sizeof --- mdk-stage1/modules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdk-stage1/modules.c b/mdk-stage1/modules.c index 6445ead41..5f02d2a6d 100644 --- a/mdk-stage1/modules.c +++ b/mdk-stage1/modules.c @@ -173,7 +173,7 @@ static int load_modules_dependencies(void) start++; } if(i >= sizeof(tmp_deps)/sizeof(char *)-1) { - log_message("warning, more than %d dependencies for module %s", + log_message("warning, more than %zu dependencies for module %s", sizeof(tmp_deps)/sizeof(char *)-1, modules_deps[line].modname); i = sizeof(tmp_deps)/sizeof(char *)-1; -- cgit v1.2.1