Fix adding \n at the end of an error message
authorviric <viriketo@gmail.com>
Mon, 15 Mar 2010 23:56:17 +0100
changeset 16 20b855c57e9c
parent 15 58420761aeae
child 17 f0fcc2a59caf
Fix adding \n at the end of an error message
tt.c
--- a/tt.c	Mon Mar 15 23:33:56 2010 +0100
+++ b/tt.c	Mon Mar 15 23:56:17 2010 +0100
@@ -66,7 +66,7 @@
     f = fopen(name, attr);
     if (!f)
     {
-        fprintf(stderr, "Could not open the file: %s (%s)", name,
+        fprintf(stderr, "Could not open the file: %s (%s)\n", name,
                 strerror(errno));
         free(name);
         exit(1);