summaryrefslogtreecommitdiff
path: root/src/unexelf.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2009-02-07 13:07:38 +0000
committerAndreas Schwab <schwab@suse.de>2009-02-07 13:07:38 +0000
commit4470a277fef8e791c9178b3f710eaef2031918c1 (patch)
tree61019d61f2f5952f69b8430b117a59186813dfe4 /src/unexelf.c
parentaaaaa2767d1a58d8d667eb9c9bf14539b817f39b (diff)
(unexec): Fix error message.
Diffstat (limited to 'src/unexelf.c')
-rw-r--r--src/unexelf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unexelf.c b/src/unexelf.c
index 4e1e39a3f7..83e5700375 100644
--- a/src/unexelf.c
+++ b/src/unexelf.c
@@ -1278,7 +1278,7 @@ unexec (new_name, old_name, data_start, bss_start, entry_address)
new_file_size, errno);
#else
fatal ("Didn't write %d bytes to %s: errno %d\n",
- new_file_size, new_base, errno);
+ new_file_size, new_name, errno);
#endif
munmap (old_base, old_file_size);
munmap (new_base, new_file_size);