diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2007-11-05 15:29:03 -0500 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2007-11-05 15:29:03 -0500 |
commit | 811995b79db16be39046dbbffcc5a7d66f88b731 (patch) | |
tree | 828e223429e5aff4e34cc1b69e0beba42992e6a8 /doc | |
parent | de1faa42d1425f80366707a730ea919c57e57b2f (diff) |
Fix trivial bugs in edit-sgml.c
Diffstat (limited to 'doc')
-rw-r--r-- | doc/edit-sgml.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/edit-sgml.c b/doc/edit-sgml.c index 067626c9..02f4a46b 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 <template.sgml>", 0, argv[0]); + Bail ("usage: %*s <template.sgml>", 0, argv[0]); f = fopen (argv[1], "r"); if (!f) { |