summaryrefslogtreecommitdiffhomepage
path: root/utility.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-08-21 19:38:49 +0000
committerEric Andersen <andersen@codepoet.org>2000-08-21 19:38:49 +0000
commitc86e5e614563349963693ae56e77240bf64682bf (patch)
treeb110fcea427c4834a21a5a6255305a0f35725612 /utility.c
parentbe0dc0d06a730bd3a9e7567af6918a673d5135ee (diff)
Some leftover stuff I forgot to commit for the lsmod change.
-Erik
Diffstat (limited to 'utility.c')
-rw-r--r--utility.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/utility.c b/utility.c
index 28e333e6f..e7abee80c 100644
--- a/utility.c
+++ b/utility.c
@@ -153,6 +153,13 @@ extern _syscall5(int, mount, const char *, special_file, const char *, dir,
const char *, fstype, unsigned long int, rwflag, const void *, data);
#endif
+#if defined BB_INSMOD || defined BB_LSMOD
+#ifndef __NR_query_module
+#define __NR_query_module 167
+#endif
+_syscall5(int, query_module, const char *, name, int, which,
+ void *, buf, size_t, bufsize, size_t*, ret);
+#endif
#if defined (BB_CP_MV) || defined (BB_DU)