Update Linux module syscalls
diff --git a/ChangeLog b/ChangeLog
index 307fe3c..89cf634 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Oct 11 00:36:25 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
+
+  * Merge patch from Keith Owens <kaos@ocs.com.au> to sys_query_module
+    and sys_delete_module correctly
+
 Wed Oct  6 02:00:33 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
 
   * Update cvsbuild to give a better error if autoconf isn't installed
diff --git a/bjm.c b/bjm.c
index d21ce7c..347a82d 100644
--- a/bjm.c
+++ b/bjm.c
@@ -40,7 +40,7 @@
 struct tcb *tcp;
 {
 
-	if (entering(tcp)) {
+	if (exiting(tcp)) {
 		printstr(tcp, tcp->u_arg[0], -1);
 		tprintf(", ");
 		printxval(which, tcp->u_arg[1], "L_???");
@@ -51,5 +51,16 @@
 	return 0;
 }
 
+int
+sys_create_module(tcp)
+struct tcb *tcp;
+{
+	if (entering(tcp)) {
+		printpath(tcp, tcp->u_arg[0]);
+		tprintf(", %lu", tcp->u_arg[1]);
+	}
+	return RVAL_HEX;
+}
+
 #endif /* LINUX */