From 96b06bef04c04b79a22facf47353009e0e8eb375 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Thu, 22 Jan 2004 15:52:19 +0000 Subject: really display filename when "error reading" a file to insmod in 2.6 --- mdk-stage1/modules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdk-stage1') diff --git a/mdk-stage1/modules.c b/mdk-stage1/modules.c index 6e754c892..3789e12d9 100644 --- a/mdk-stage1/modules.c +++ b/mdk-stage1/modules.c @@ -201,7 +201,7 @@ static enum insmod_return insmod_archived_file(const char * mod_name, char * opt file = grab_file(final_name, &len); if (!file) { - log_perror("\terror reading %s"); + log_perror(asprintf_("\terror reading %s", final_name)); return INSMOD_FAILED; } -- cgit v1.2.1