outcoff: fix invalid reference to ofmt
authorH. Peter Anvin <hpa@zytor.com>
Fri, 17 Jul 2009 02:46:34 +0000 (22:46 -0400)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 17 Jul 2009 02:46:34 +0000 (22:46 -0400)
ofmt is a static in nasm.c (why?), not a global...

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
output/outcoff.c

index 044600f..b27cc94 100644 (file)
@@ -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))