summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-12-28 18:28:03 +0000
committerMatt Wilson <msw@redhat.com>1999-12-28 18:28:03 +0000
commit7b8e01bde852b7c546c766f5fd30036dac6bafc5 (patch)
treef387e575463d9d523b15c4747145c3fc8f38e473
parent2b722dd18069f2f8b80dc32a84b90164aaaa4d17 (diff)
downloadanaconda-7b8e01bde852b7c546c766f5fd30036dac6bafc5.tar.gz
anaconda-7b8e01bde852b7c546c766f5fd30036dac6bafc5.tar.xz
anaconda-7b8e01bde852b7c546c766f5fd30036dac6bafc5.zip
added error message when mounts fail
-rw-r--r--collage/commands.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/collage/commands.c b/collage/commands.c
index d151f877a..d57df39dd 100644
--- a/collage/commands.c
+++ b/collage/commands.c
@@ -121,8 +121,10 @@ int mountCommand(int argc, char ** argv) {
dev = buf;
}
- if (doPwMount(dev, dir, fs, 0, 1, NULL, NULL))
+ if (doPwMount(dev, dir, fs, 0, 1, NULL, NULL)) {
+ fprintf(strerror, "mount failed: %s\n", strerror(errno));
return 1;
+ }
return 0;
}