changeset 1751:fac61b478a41

Also, write a newline after the token.
author Michael I. Bushnell <mib@gnu.org>
date Fri, 08 Jan 1993 21:12:58 +0000
parents 2a92e870a448
children b2af3186e7a7
files lib-src/=timer.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/=timer.c	Fri Jan 08 20:36:35 1993 +0000
+++ b/lib-src/=timer.c	Fri Jan 08 21:12:58 1993 +0000
@@ -64,7 +64,7 @@
     continue;
   if (!*p)
     {
-      fprintf (stderr, "%s: bad input format: %s", pname, str);
+      fprintf (stderr, "%s: bad input format: %s\n", pname, str);
       return;
     }
   *p++ = 0;
@@ -101,7 +101,7 @@
   ep->reply_at = get_date (str, NULL);
   if (ep->reply_at - time (&now) < 0)
     {
-      fprintf (stderr, "%s: bad time spec: %s%c%s", pname, str, FS, p);
+      fprintf (stderr, "%s: bad time spec: %s%c%s\n", pname, str, FS, p);
       return;
     }
 
@@ -109,7 +109,7 @@
   ep->token = (char *) malloc ((unsigned) strlen (p) + 1);
   if (! ep->token)
     {
-      fprintf (stderr, "%s: malloc %s: %s%c%s",
+      fprintf (stderr, "%s: malloc %s: %s%c%s\n",
 	       pname, sys_errlist[errno], str, FS, p);
       return;
     }
@@ -231,7 +231,7 @@
     case SIGTERM:
       fprintf (stderr, "Events still queued:\n");
       for (ep = events; ep < events + num_events; ep++)
-	fprintf (stderr, "%d = %ld @ %s",
+	fprintf (stderr, "%d = %ld @ %s\n",
 		 ep - events, ep->reply_at, ep->token);
       exit (0);
       break;