summaryrefslogtreecommitdiff
path: root/modutils/lsmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'modutils/lsmod.c')
-rw-r--r--modutils/lsmod.c2
1 files changed, 1 insertions, 1 deletions
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)
82 82
83 module_names = deps = NULL; 83 module_names = deps = NULL;
84 bufsize = depsize = 0; 84 bufsize = depsize = 0;
85 while(query_module(NULL, QM_MODULES, module_names, bufsize, &nmod)) { 85 while (query_module(NULL, QM_MODULES, module_names, bufsize, &nmod)) {
86 if (errno != ENOSPC) bb_perror_msg_and_die("QM_MODULES"); 86 if (errno != ENOSPC) bb_perror_msg_and_die("QM_MODULES");
87 module_names = xmalloc(bufsize = nmod); 87 module_names = xmalloc(bufsize = nmod);
88 } 88 }