# HG changeset patch # User lost@l-w.ca # Date 1302652693 21600 # Node ID e95eaf2f7fe09273125656f6705833926a34e1a7 # Parent 1f77ae5c35908c9b7e2d745ffb16368b11d24ff2 Added missing newlines to error messages related to opening files diff -r 1f77ae5c3590 -r e95eaf2f7fe0 lwasm/input.c --- 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; } }