From 811995b79db16be39046dbbffcc5a7d66f88b731 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 5 Nov 2007 15:29:03 -0500 Subject: [PATCH] Fix trivial bugs in edit-sgml.c --- doc/edit-sgml.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- 2.39.5