From: Jim Wilson Date: Tue, 8 Feb 1994 23:54:59 +0000 (-0800) Subject: (print_file_desc): Correct printf format. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b10d3744ee728bcc5186a7a9198a5b31119dfbc3;p=gcc.git (print_file_desc): Correct printf format. (main): Likewise. From-SVN: r6501 --- diff --git a/gcc/mips-tdump.c b/gcc/mips-tdump.c index 789a0fd3fdf..f31a92be57b 100644 --- a/gcc/mips-tdump.c +++ b/gcc/mips-tdump.c @@ -1171,7 +1171,7 @@ print_file_desc (fdp, number) (ulong) (fdp->copt * sizeof (OPTR)), (ulong) (fdp->ioptBase * sizeof (OPTR) + sym_hdr.cbOptOffset)); - printf(" %-*s %11llu %11lu %11lu %11lu\n", + printf(" %-*s %11lu %11lu %11lu %11lu\n", width, "Procedures", (ulong) fdp->ipdFirst, (ulong) fdp->cpd, @@ -1457,7 +1457,7 @@ main (argc, argv) if (errors || optind != argc - 1) { fprintf (stderr, "Calling Sequence:\n"); - fprintf (stderr, "\t%0 [-alrst] \n", argv[0]); + fprintf (stderr, "\t%s [-alrst] \n", argv[0]); fprintf (stderr, "\n"); fprintf (stderr, "switches:\n"); fprintf (stderr, "\t-a Print out auxiliary table.\n");