changeset 101869:5be87badd8fd

(unexec): Fix error message.
author Andreas Schwab <schwab@suse.de>
date Sat, 07 Feb 2009 13:07:38 +0000
parents 8e0a2c5ca456
children 085bed32d1c1
files src/ChangeLog src/unexelf.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sat Feb 07 12:55:49 2009 +0000
+++ b/src/ChangeLog	Sat Feb 07 13:07:38 2009 +0000
@@ -1,3 +1,7 @@
+2009-02-07  Andreas Schwab  <schwab@suse.de>
+
+	* unexelf.c (unexec): Fix error message.
+
 2009-02-07  Adrian Robert  <Adrian.B.Robert@gmail.com>
 
 	* nsterm.m (EmacsApp-sendEvent:): Defer NSApplicationDefined event
--- a/src/unexelf.c	Sat Feb 07 12:55:49 2009 +0000
+++ b/src/unexelf.c	Sat Feb 07 13:07:38 2009 +0000
@@ -1278,7 +1278,7 @@
 	   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);