diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-07-16 22:46:34 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-07-16 22:46:34 -0400 |
commit | a5fd1ca895f570d87a170a80eeea998c0de0affb (patch) | |
tree | 289bcb772c8a3e657777a46368d5a157e003a7e4 | |
parent | 892bafc9b1980a7c9a5f2f3f8c0735f1ebca62eb (diff) | |
download | nasm-a5fd1ca895f570d87a170a80eeea998c0de0affb.tar.gz |
outcoff: fix invalid reference to ofmt
ofmt is a static in nasm.c (why?), not a global...
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | output/outcoff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/output/outcoff.c b/output/outcoff.c index 044600fd..b27cc94e 100644 --- a/output/outcoff.c +++ b/output/outcoff.c @@ -420,7 +420,7 @@ static void coff_deflabel(char *name, int32_t segment, int64_t offset, if (special) error(ERR_NONFATAL, "COFF format does not support any" - " special symbol types", ofmt->name); + " special symbol types"); if (name[0] == '.' && name[1] == '.' && name[2] != '@') { if (strcmp(name,WRT_IMAGEBASE)) |