From: Behdad Esfahbod Date: Mon, 5 Nov 2007 20:29:03 +0000 (-0500) Subject: Fix trivial bugs in edit-sgml.c X-Git-Tag: 2.4.92~13 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=811995b79db16be39046dbbffcc5a7d66f88b731;p=fontconfig.git Fix trivial bugs in edit-sgml.c --- diff --git a/doc/edit-sgml.c b/doc/edit-sgml.c index 067626c..02f4a46 100644 --- a/doc/edit-sgml.c +++ b/doc/edit-sgml.c @@ -263,6 +263,7 @@ Getc (FILE *f, int *linep) int c = getc (f); if (c == '\n') ++(*linep); + return c; } static void @@ -524,7 +525,7 @@ main (int argc, char **argv) int iline, oline; if (!argv[1]) - Bail ("usage: %s ", 0, argv[0]); + Bail ("usage: %*s ", 0, argv[0]); f = fopen (argv[1], "r"); if (!f) {