summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-06-06 17:07:23 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-06-06 17:07:23 +0100
commitd6d144eab55388d4117880f2d3a7e8c2571c9d9a (patch)
treef65e2b009ae0af787fcab122433b1fb0dd85dbfa
parent489e4d8ff78ad3141c5464e0783b9cb9b40b1f84 (diff)
downloadfebootstrap-d6d144eab55388d4117880f2d3a7e8c2571c9d9a.tar.gz
febootstrap-d6d144eab55388d4117880f2d3a7e8c2571c9d9a.tar.xz
febootstrap-d6d144eab55388d4117880f2d3a7e8c2571c9d9a.zip
helper: Fix error message when modules.dep is not found.
-rw-r--r--helper/ext2initrd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/helper/ext2initrd.c b/helper/ext2initrd.c
index 13e429c..da4bf48 100644
--- a/helper/ext2initrd.c
+++ b/helper/ext2initrd.c
@@ -175,7 +175,7 @@ read_module_deps (const char *modpath)
char *filename = xasprintf ("%s/modules.dep", modpath);
FILE *fp = fopen (filename, "r");
if (fp == NULL)
- error (EXIT_FAILURE, errno, "open: %s", modpath);
+ error (EXIT_FAILURE, errno, "open: %s/modules.dep", modpath);
char *line = NULL;
size_t llen = 0;