diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-08-27 12:17:12 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-08-27 12:17:12 +0000 |
commit | d464131a8ca42251852280801a080572a698db9b (patch) | |
tree | 746c9eadc794ece0f647f8132f230f687f4b5066 | |
parent | 2aa7d1d52ec83045408ee51d77c9517916cda9a5 (diff) | |
download | drakx-d464131a8ca42251852280801a080572a698db9b.tar drakx-d464131a8ca42251852280801a080572a698db9b.tar.gz drakx-d464131a8ca42251852280801a080572a698db9b.tar.bz2 drakx-d464131a8ca42251852280801a080572a698db9b.tar.xz drakx-d464131a8ca42251852280801a080572a698db9b.zip |
indent
-rw-r--r-- | mdk-stage1/modules.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/mdk-stage1/modules.c b/mdk-stage1/modules.c index 882e617fe..5132b8c30 100644 --- a/mdk-stage1/modules.c +++ b/mdk-stage1/modules.c @@ -60,29 +60,29 @@ static const char *moderror(int err) int insmod_local_file(char * path, char * options) { - void *file; - unsigned long len; - int rc; + void *file; + unsigned long len; + int rc; - if (IS_TESTING) - return 0; + if (IS_TESTING) + return 0; - file = grab_file(path, &len); + file = grab_file(path, &len); - if (!file) { - log_perror(asprintf_("\terror reading %s", path)); - return -1; - } + if (!file) { + log_perror(asprintf_("\terror reading %s", path)); + return -1; + } - rc = init_module(file, len, options ? options : ""); - if (rc) - log_message("\terror: %s", moderror(errno)); - return rc; + rc = init_module(file, len, options ? options : ""); + if (rc) + log_message("\terror: %s", moderror(errno)); + return rc; } static char *kernel_module_extension(void) { - return ".ko.gz"; + return ".ko.gz"; } static int load_modules_dependencies(void) |