summaryrefslogtreecommitdiffstats
path: root/isys/otherinsmod.c
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-06-14 18:35:03 +0000
committerMatt Wilson <msw@redhat.com>2000-06-14 18:35:03 +0000
commit5f31681a57f6531b49770b2a254de4a3442b8c14 (patch)
tree6a8066ceb800cc3179d805e22019e7b44971ff3a /isys/otherinsmod.c
parent178d26ccbd2e5f50441cbc6a1cb20ba58da235aa (diff)
downloadanaconda-5f31681a57f6531b49770b2a254de4a3442b8c14.tar.gz
anaconda-5f31681a57f6531b49770b2a254de4a3442b8c14.tar.xz
anaconda-5f31681a57f6531b49770b2a254de4a3442b8c14.zip
merge to new modutils (cross fingers)
Diffstat (limited to 'isys/otherinsmod.c')
-rw-r--r--isys/otherinsmod.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/isys/otherinsmod.c b/isys/otherinsmod.c
index 5eb65d1bd..146c50113 100644
--- a/isys/otherinsmod.c
+++ b/isys/otherinsmod.c
@@ -11,9 +11,8 @@
#include "isys.h"
/* hack */
-int insmod_main(int argc, char ** argv);
-int insmod64_main(int argc, char ** argv);
-int rmmod_main(int argc, char ** argv);
+int combined_insmod_main(int argc, char ** argv);
+int combined_insmod64_main(int argc, char ** argv);
int ourInsmodCommand(int argc, char ** argv) {
char * file;
@@ -91,10 +90,10 @@ int ourInsmodCommand(int argc, char ** argv) {
#ifdef __sparc__
if (sparc64)
- rc = insmod64_main(argc, argv);
+ rc = combined_insmod64_main(argc, argv);
else
#endif
- rc = insmod_main(argc, argv);
+ rc = combined_insmod_main(argc, argv);
if (rmObj) unlink(file);
@@ -109,7 +108,7 @@ int rmmod(char * modName) {
int rc = 0;
if ((child = fork()) == 0) {
- exit(rmmod_main(argc, argv));
+ exit(combined_insmod_main(argc, argv));
}
waitpid(child, &status, 0);