diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-02-21 17:27:13 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-02-21 17:27:13 -0800 |
commit | a5c2455f8aacfc50863c4d3dfd9782c9c3b392e8 (patch) | |
tree | f0f85f9a31199141fffa2fcc043d6d072817267a | |
parent | 999868f06f49ec6450872f224a7cc0a43214b063 (diff) | |
download | nasm-a5c2455f8aacfc50863c4d3dfd9782c9c3b392e8.tar.gz |
outbin: fix typo: "sections" not "section"
Fix silly typo: the variable is "sections" not "section"...
-rw-r--r-- | output/outbin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/output/outbin.c b/output/outbin.c index f6de9302..71867c1e 100644 --- a/output/outbin.c +++ b/output/outbin.c @@ -365,12 +365,12 @@ static void bin_cleanup(int debuginfo) /* Make sure we have an origin and a start address for the first section. */ if (origin_defined) { - if (section->flags & START_DEFINED) { + if (sections->flags & START_DEFINED) { /* Make sure this section doesn't begin before the origin. */ if (sections->start < origin) error(ERR_FATAL|ERR_NOFILE, "section %s begins" " before program origin", sections->name); - } else if (section->flags & ALIGN_DEFINED) { + } else if (sections->flags & ALIGN_DEFINED) { sections->start = ((origin + sections->align - 1) & ~(sections->align - 1)); } else { |