]> git.marmaro.de Git - mmh/blobdiff - uip/fmtdump.c
Make default scan/inc listing file-based
[mmh] / uip / fmtdump.c
index 5266235a5dd39eb145307fbc72f9b64d16065749..a91333b7d2a3ecbdfa0524c012bb8eace75809b2 100644 (file)
@@ -89,10 +89,8 @@ main(int argc, char **argv)
                        form = cp;
        }
 
-       /*
-       ** Get new format string.  Must be before chdir().
-       */
-       fmtstr = new_fs(form, FORMAT);
+       /* Set format string.  Must be before chdir(). */
+       fmtstr = new_fs(form, scanformat);
        fmt_compile(fmtstr, &fmt);
 
        fmt_dump(fmt);