changeset 41529:370b4ba3f429

(unexec): Index by n, not nn, when checking for ".sbss".
author Richard M. Stallman <rms@gnu.org>
date Mon, 26 Nov 2001 01:18:25 +0000
parents e6244d9fb1c6
children 4be7a2586425
files src/unexelf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/unexelf.c	Mon Nov 26 00:36:28 2001 +0000
+++ b/src/unexelf.c	Mon Nov 26 01:18:25 2001 +0000
@@ -1016,7 +1016,7 @@
 		      ".sdata1")
 	  || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
 		      ".data1")
-	  || !strcmp (old_section_names + NEW_SECTION_H (nn).sh_name,
+	  || !strcmp ((old_section_names + NEW_SECTION_H (n).sh_name),
 		      ".sbss"))
 	src = (caddr_t) OLD_SECTION_H (n).sh_addr;
       else