summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1999-07-21 02:41:02 +0000
committerErik Troan <ewt@redhat.com>1999-07-21 02:41:02 +0000
commita9575cbf2682e4793e558427b5915bceda6480c7 (patch)
treef901a954bfe0d41af2c31a8bddd3a1f70c64e583 /loader
parenta300929d80383ce83c24bbdef34736eadc3dad98 (diff)
downloadanaconda-a9575cbf2682e4793e558427b5915bceda6480c7.tar.gz
anaconda-a9575cbf2682e4793e558427b5915bceda6480c7.tar.xz
anaconda-a9575cbf2682e4793e558427b5915bceda6480c7.zip
display a better error message when module-info is bad
Diffstat (limited to 'loader')
-rw-r--r--loader/loader.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/loader/loader.c b/loader/loader.c
index 345027770..c8f5947dc 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -375,9 +375,9 @@ int main(int argc, char ** argv) {
exit(1);
}
- if (isysReadModuleInfo(testing ? "/boot/module-info" :
- "/modules/module-info")) {
- fprintf(stderr, "failed to read /boot/module-info");
+ arg = testing ? "/boot/module-info" : "/modules/module-info";
+ if (isysReadModuleInfo(arg)) {
+ fprintf(stderr, "failed to read %s\n", arg);
sleep(5);
exit(1);
}