diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-26 10:42:51 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-26 10:42:51 +0000 |
commit | bf0a201008671f81c107de72c026b1b84967561d (patch) | |
tree | af74820b70fa27929fe218c95822c20651b60637 /modutils | |
parent | 5dd7ef0f37373e397a7160cb431a32ae57f9f7d9 (diff) |
style fixes
last xcalloc replaced by xzalloc
Diffstat (limited to 'modutils')
-rw-r--r-- | modutils/insmod.c | 2 | ||||
-rw-r--r-- | modutils/lsmod.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c index 19066972a..3b71d1c8a 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c @@ -3719,7 +3719,7 @@ static void check_tainted_module(struct obj_file *f, char *m_name) close(fd); } #else /* FEATURE_CHECK_TAINTED_MODULE */ -#define check_tainted_module(x, y) do { } while(0); +#define check_tainted_module(x, y) do { } while (0); #endif /* FEATURE_CHECK_TAINTED_MODULE */ #if ENABLE_FEATURE_INSMOD_KSYMOOPS_SYMBOLS diff --git a/modutils/lsmod.c b/modutils/lsmod.c index ffde3d829..987174081 100644 --- a/modutils/lsmod.c +++ b/modutils/lsmod.c @@ -82,7 +82,7 @@ int lsmod_main(int argc, char **argv) module_names = deps = NULL; bufsize = depsize = 0; - while(query_module(NULL, QM_MODULES, module_names, bufsize, &nmod)) { + while (query_module(NULL, QM_MODULES, module_names, bufsize, &nmod)) { if (errno != ENOSPC) bb_perror_msg_and_die("QM_MODULES"); module_names = xmalloc(bufsize = nmod); } |