Fix list iterator
authorH. Peter Anvin <hpa@zytor.com>
Fri, 12 Sep 2003 20:49:25 +0000 (20:49 +0000)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 12 Sep 2003 20:49:25 +0000 (20:49 +0000)
output/outieee.c

index 3546ab05c29dc6ab2c17f227637ef8681b33e988..a8cb6cd8ad31ac4d20f372314502cedc5ff25a9f 100644 (file)
@@ -1296,7 +1296,7 @@ static void dbgls_linnum (const char *lnfname, long lineno, long segto)
     if (!seg)
        error (ERR_PANIC, "lineno directed to nonexistent segment?");
 
-    for (fn = fnhead; fn; fn = fnhead->next) {
+    for (fn = fnhead; fn; fn = fn->next) {
        if (!nasm_stricmp(lnfname,fn->name))
            break;
         i++;