diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-05-18 03:45:34 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-05-18 03:45:34 +0000 |
commit | 3105f614b92cebd202d473d980326f534d2f0c02 (patch) | |
tree | 98c6e0a7a67b4934fc5f95c4257e0eb5d8bc5e7f /loader2 | |
parent | 5a6253f78f105e543f2d6d831feb5883588ecb58 (diff) | |
download | anaconda-3105f614b92cebd202d473d980326f534d2f0c02.tar.gz anaconda-3105f614b92cebd202d473d980326f534d2f0c02.tar.xz anaconda-3105f614b92cebd202d473d980326f534d2f0c02.zip |
merge anaconda-10_0-branch changes back to HEAD
Diffstat (limited to 'loader2')
-rw-r--r-- | loader2/modstubs.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/loader2/modstubs.c b/loader2/modstubs.c index 70337ae63..0ae4e1e1a 100644 --- a/loader2/modstubs.c +++ b/loader2/modstubs.c @@ -131,7 +131,12 @@ int ourInsmodCommand(int argc, char ** argv) { return 1; } - rc = init_module(modbuf, sb.st_size, ""); + if (argc > 2) { + /* FIXME: only allows one param */ + rc = init_module(modbuf, sb.st_size, argv[2]); + } else { + rc = init_module(modbuf, sb.st_size, ""); + } if (rc != 0) logMessage("failed to insert module (%d)", errno); return rc; |