diff options
author | Eli Zaretskii <eliz@gnu.org> | 2011-04-24 12:00:03 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2011-04-24 12:00:03 +0300 |
commit | 762b15be8c7925c661e839fa41d46189513dfda6 (patch) | |
tree | 05540ae931986d38d8d4136b36923ee129daf8a5 /src/term.c | |
parent | f1052e5d1b134c255b4fe7cd948681a0a9af9b63 (diff) |
Fallout from resurrecting doprnt.
src/doc.c (get_doc_string): Improve the format passed to `error'.
src/doprnt.c (doprnt): Improve commentary.
src/term.c (init_tty) [MSDOS]: Fix 1st argument to maybe_fatal.
src/Makefile.in (TAGS): Depend on $(M_FILE) and $(S_FILE), and scan
them with etags.
src/makefile.w32-in (TAGS): Depend on $(CURDIR)/m/intel386.h and
$(CURDIR)/s/ms-w32.h.
(TAGS-gmake): Scan $(CURDIR)/m/intel386.h and $(CURDIR)/s/ms-w32.h.
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/term.c b/src/term.c index cae83f4d26..28709138a1 100644 --- a/src/term.c +++ b/src/term.c @@ -3121,7 +3121,7 @@ init_tty (const char *name, const char *terminal_type, int must_succeed) terminal = create_terminal (); #ifdef MSDOS if (been_here > 0) - maybe_fatal (1, 0, "Attempt to create another terminal %s", "", + maybe_fatal (0, 0, "Attempt to create another terminal %s", "", name, ""); been_here = 1; tty = &the_only_display_info; @@ -3627,7 +3627,7 @@ vfatal (const char *str, va_list ap) /* Auxiliary error-handling function for init_tty. Delete TERMINAL, then call error or fatal with str1 or str2, - respectively, according to MUST_SUCCEED. */ + respectively, according to whether MUST_SUCCEED is zero or not. */ static void maybe_fatal (int must_succeed, struct terminal *terminal, |