diff options
| author | Matt Wilson <msw@redhat.com> | 1999-06-23 00:40:22 +0000 |
|---|---|---|
| committer | Matt Wilson <msw@redhat.com> | 1999-06-23 00:40:22 +0000 |
| commit | 156a22ee3d2accebb76140ea984520f184ecc8ff (patch) | |
| tree | 6ac269ab0e071304c6fca9d2b7992aa4bc9d7734 | |
| parent | b803dcd62aba2548e7e6018022d9983ea9c01067 (diff) | |
debugging
| -rw-r--r-- | loader/loader.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/loader/loader.c b/loader/loader.c index c48b790c8..77d17f746 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -62,11 +62,13 @@ int main(int argc, char ** argv) { modules = probePciDriverList(); module = *modules++; while (module && *module) { - if (!testing) + if (!testing) { + printf("Inserting module %s\n", module); insmod(module, NULL); - else + } else { printf("If I were not testing, I would run insmod(%s, NULL);\n", module); + } module = *modules++; } @@ -80,5 +82,7 @@ int main(int argc, char ** argv) { */ execv(testing ? "../anaconda" : "/sbin/anaconda", argv); + sleep(5); + return 0; } |
