From: Richard W.M. Jones Date: Mon, 6 Jun 2011 16:07:23 +0000 (+0100) Subject: helper: Fix error message when modules.dep is not found. X-Git-Tag: 3.7~3 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=d6d144eab55388d4117880f2d3a7e8c2571c9d9a;p=febootstrap.git helper: Fix error message when modules.dep is not found. --- 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;