diff options
author | Bogdano Arendartchuk <bogdano@mandriva.org> | 2009-09-01 17:01:56 +0000 |
---|---|---|
committer | Bogdano Arendartchuk <bogdano@mandriva.org> | 2009-09-01 17:01:56 +0000 |
commit | 35dbfd9b5d3ee4e20ee3b1ec5d14764260374519 (patch) | |
tree | 3f11928aee158ecd3de3edb1e9c014a85b7f54f1 /mdk-stage1 | |
parent | 059b2f4f111ca6a8120f40aa66b7d428abd69455 (diff) | |
download | drakx-35dbfd9b5d3ee4e20ee3b1ec5d14764260374519.tar drakx-35dbfd9b5d3ee4e20ee3b1ec5d14764260374519.tar.gz drakx-35dbfd9b5d3ee4e20ee3b1ec5d14764260374519.tar.bz2 drakx-35dbfd9b5d3ee4e20ee3b1ec5d14764260374519.tar.xz drakx-35dbfd9b5d3ee4e20ee3b1ec5d14764260374519.zip |
use %zu instead of %d in order to handle x86_64 sizeof
Diffstat (limited to 'mdk-stage1')
-rw-r--r-- | mdk-stage1/modules.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |