fix an oopsie with the verbose output of extract and create

This commit is contained in:
Bill Currie 2002-03-18 22:16:14 +00:00
parent 568e7ecdb2
commit b4b14b096f
1 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ main (int argc, char **argv)
} }
for (i = 0; i < pack->numfiles; i++) { for (i = 0; i < pack->numfiles; i++) {
if (verbose) if (verbose)
fprintf (stderr, "%s\n", pack->files[i].name); printf ("%s\n", pack->files[i].name);
pack_extract (pack, &pack->files[i]); pack_extract (pack, &pack->files[i]);
} }
pack_close (pack); pack_close (pack);
@ -90,7 +90,7 @@ main (int argc, char **argv)
pack->pad = pad; pack->pad = pad;
while (optind < argc) { while (optind < argc) {
if (verbose) if (verbose)
fprintf (stderr, "%s\n", argv[optind]); printf ("%s\n", argv[optind]);
pack_add (pack, argv[optind++]); pack_add (pack, argv[optind++]);
} }
pack_close (pack); pack_close (pack);