X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Ffmtdump.c;h=a91333b7d2a3ecbdfa0524c012bb8eace75809b2;hb=2fb1dd2271e5be9d0b0c9cbd4e7d6d5d51aaecb9;hp=5266235a5dd39eb145307fbc72f9b64d16065749;hpb=5ba9c2f13fedf1d8d6ed907ef1f505616290efaa;p=mmh diff --git a/uip/fmtdump.c b/uip/fmtdump.c index 5266235..a91333b 100644 --- a/uip/fmtdump.c +++ b/uip/fmtdump.c @@ -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);