Mercurial > hg > index.cgi
diff lwasm/input.c @ 74:e95eaf2f7fe0
Added missing newlines to error messages related to opening files
author | lost@l-w.ca |
---|---|
date | Tue, 12 Apr 2011 17:58:13 -0600 |
parents | 1f77ae5c3590 |
children | 5bf9edabd661 |
line wrap: on
line diff
--- a/lwasm/input.c Tue Apr 12 17:56:51 2011 -0600 +++ b/lwasm/input.c Tue Apr 12 17:58:13 2011 -0600 @@ -183,7 +183,7 @@ debug_message(as, 1, "Opening (abs) %s", s); if (!IS -> data && !IGNOREERROR) { - lw_error("Cannot open file '%s': %s", s, strerror(errno)); + lw_error("Cannot open file '%s': %s\n", s, strerror(errno)); } input_pushpath(as, s); return; @@ -225,7 +225,7 @@ input_pushpath(as, s); return; } - lw_error("Cannot open include file '%s': %s", s, strerror(errno)); + lw_error("Cannot open include file '%s': %s\n", s, strerror(errno)); break; case input_type_file: @@ -234,13 +234,13 @@ if (!IS -> data) { - lw_error("Cannot open file '%s': %s", s, strerror(errno)); + lw_error("Cannot open file '%s': %s\n", s, strerror(errno)); } input_pushpath(as, s); return; } - lw_error("Cannot figure out how to open '%s'.", t -> filespec); + lw_error("Cannot figure out how to open '%s'.\n", t -> filespec); } FILE *input_open_standalone(asmstate_t *as, char *s) @@ -423,7 +423,7 @@ } default: - lw_error("Problem reading from unknown input type"); + lw_error("Problem reading from unknown input type\n"); return NULL; } }