svn commit: trunk/busybox/sysklogd

aldot at busybox.net aldot at busybox.net
Tue Apr 18 12:46:59 UTC 2006


Author: aldot
Date: 2006-04-18 05:46:56 -0700 (Tue, 18 Apr 2006)
New Revision: 14913

Log:
- commentary typo and superfluous whitespace removal in weird messages.


Modified:
   trunk/busybox/sysklogd/syslogd.c


Changeset:
Modified: trunk/busybox/sysklogd/syslogd.c
===================================================================
--- trunk/busybox/sysklogd/syslogd.c	2006-04-18 11:21:07 UTC (rev 14912)
+++ trunk/busybox/sysklogd/syslogd.c	2006-04-18 12:46:56 UTC (rev 14913)
@@ -209,7 +209,7 @@
 	 *      "tail" are actually offsets from the beginning of the buffer.
 	 *
 	 * Note: This algorithm uses Linux IPC mechanism w/ shared memory and semaphores to provide
-	 *       a threasafe way of handling shared memory operations.
+	 *       a threadsafe way of handling shared memory operations.
 	 */
 	if ((buf->tail + l) < buf->size) {
 		/* before we append the message we need to check the HEAD so that we won't
@@ -236,7 +236,7 @@
 					/* Note: HEAD is only used to "retrieve" messages, it's not used
 					   when writing messages into our buffer */
 				} else {	/* show an error message to know we messed up? */
-					printf("Weird! Can't find the terminator token??? \n");
+					printf("Weird! Can't find the terminator token?\n");
 					buf->head = 0;
 				}
 			}
@@ -273,7 +273,7 @@
 			buf->tail = k + 1;
 		} else {
 			printf
-				("Weird! Can't find the terminator token from the beginning??? \n");
+				("Weird! Can't find the terminator token from the beginning?\n");
 			buf->head = buf->tail = 0;	/* reset buffer, since it's probably corrupted */
 		}
 




More information about the busybox-cvs mailing list