summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2000-12-18 16:14:12 +0000
committerMike Fulbright <msf@redhat.com>2000-12-18 16:14:12 +0000
commit439a1f61d90593fc2b00a9190cfac219a51aa96d (patch)
treeb1cc60691669abef676d0ec7b185be1a12601214
parente7c7b3358b3f19f1528a9b9123af30184861d11d (diff)
downloadanaconda-439a1f61d90593fc2b00a9190cfac219a51aa96d.tar.gz
anaconda-439a1f61d90593fc2b00a9190cfac219a51aa96d.tar.xz
anaconda-439a1f61d90593fc2b00a9190cfac219a51aa96d.zip
reverting to 1.12, I screwed up a commit
-rw-r--r--isys/otherinsmod.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/isys/otherinsmod.c b/isys/otherinsmod.c
index 98642d018..c09798eee 100644
--- a/isys/otherinsmod.c
+++ b/isys/otherinsmod.c
@@ -24,11 +24,6 @@ int ourInsmodCommand(int argc, char ** argv) {
char fullName[100];
struct utsname u;
- FILE *myfile;
-
- myfile = fopen("/dev/tty3", "w");
- fprintf(myfile, "Got into ourInsmodCommand()\n");
-
uname(&u);
#ifdef __sparc__
@@ -38,7 +33,6 @@ int ourInsmodCommand(int argc, char ** argv) {
if (argc < 2) {
fprintf(stderr, "usage: insmod [-p <path>] <module>.o [params]\n");
- fprintf(myfile, "Error 1\n");
return 1;
}
@@ -64,7 +58,6 @@ int ourInsmodCommand(int argc, char ** argv) {
fd = gzopen(ballPath, "r");
if (!fd) {
free(ballPath);
- fprintf(myfile, "Error 2\n");
return 1;
}
@@ -80,7 +73,6 @@ int ourInsmodCommand(int argc, char ** argv) {
continue;
}
free(ballPath);
- fprintf(myfile, "Error 3\n");
return 1;
}
@@ -95,14 +87,10 @@ int ourInsmodCommand(int argc, char ** argv) {
argv[0] = "insmod";
argv[1] = file;
- fprintf(myfile, "Calling combined_insmod_main()\n");
-
rc = combined_insmod_main(argc, argv);
if (rmObj) unlink(file);
- fprintf(myfile, "combined_insmod_main() returned %d\n", rc);
-
return rc;
}