From d6d144eab55388d4117880f2d3a7e8c2571c9d9a Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 6 Jun 2011 17:07:23 +0100 Subject: [PATCH] helper: Fix error message when modules.dep is not found. --- helper/ext2initrd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 1.8.3.1