aboutsummaryrefslogtreecommitdiffstats
path: root/src/unexelf.c
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2001-11-26 01:19:06 +0000
committerRichard M. Stallman <[email protected]>2001-11-26 01:19:06 +0000
commit6108b49c0a0681fb08882515d4d434fc173e7164 (patch)
tree29c48ca2516b7ccba2f63dc19ce2aed9a23035ec /src/unexelf.c
parent7ec8aa3fdd3a3771616694976c171b0a757d8ac1 (diff)
(unexec): Index by n, not nn, when checking for ".sbss".
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 32fdbc77cb..548465c0df 100644
--- a/src/unexelf.c
+++ b/src/unexelf.c
@@ -1016,7 +1016,7 @@ unexec (new_name, old_name, data_start, bss_start, entry_address)
".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