summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2004-01-22 15:52:19 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2004-01-22 15:52:19 +0000
commit96b06bef04c04b79a22facf47353009e0e8eb375 (patch)
tree5febaabdb34079a52122ce32a97bd819a3f45e20
parent79a45f42e391f892f736b208fec77a3d0f306702 (diff)
downloaddrakx-96b06bef04c04b79a22facf47353009e0e8eb375.tar
drakx-96b06bef04c04b79a22facf47353009e0e8eb375.tar.gz
drakx-96b06bef04c04b79a22facf47353009e0e8eb375.tar.bz2
drakx-96b06bef04c04b79a22facf47353009e0e8eb375.tar.xz
drakx-96b06bef04c04b79a22facf47353009e0e8eb375.zip
really display filename when "error reading" a file to insmod in 2.6
-rw-r--r--mdk-stage1/modules.c2
1 files changed, 1 insertions, 1 deletions
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;
}