aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-04-18 12:46:56 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-04-18 12:46:56 +0000
commit0c013f5fc7abbc10265b26c214b33a25c65bd16f (patch)
tree539b53cd871213fb4286fd2500012bfa397dd8da
parent38fc692e380d47a332db0e44ec0ca900195fe6a8 (diff)
downloadbusybox-w32-0c013f5fc7abbc10265b26c214b33a25c65bd16f.tar.gz
busybox-w32-0c013f5fc7abbc10265b26c214b33a25c65bd16f.tar.bz2
busybox-w32-0c013f5fc7abbc10265b26c214b33a25c65bd16f.zip
- commentary typo and superfluous whitespace removal in weird messages.
-rw-r--r--sysklogd/syslogd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 0fcbb48bc..74c407142 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -209,7 +209,7 @@ static void circ_message(const char *msg)
209 * "tail" are actually offsets from the beginning of the buffer. 209 * "tail" are actually offsets from the beginning of the buffer.
210 * 210 *
211 * Note: This algorithm uses Linux IPC mechanism w/ shared memory and semaphores to provide 211 * Note: This algorithm uses Linux IPC mechanism w/ shared memory and semaphores to provide
212 * a threasafe way of handling shared memory operations. 212 * a threadsafe way of handling shared memory operations.
213 */ 213 */
214 if ((buf->tail + l) < buf->size) { 214 if ((buf->tail + l) < buf->size) {
215 /* before we append the message we need to check the HEAD so that we won't 215 /* before we append the message we need to check the HEAD so that we won't
@@ -236,7 +236,7 @@ static void circ_message(const char *msg)
236 /* Note: HEAD is only used to "retrieve" messages, it's not used 236 /* Note: HEAD is only used to "retrieve" messages, it's not used
237 when writing messages into our buffer */ 237 when writing messages into our buffer */
238 } else { /* show an error message to know we messed up? */ 238 } else { /* show an error message to know we messed up? */
239 printf("Weird! Can't find the terminator token??? \n"); 239 printf("Weird! Can't find the terminator token?\n");
240 buf->head = 0; 240 buf->head = 0;
241 } 241 }
242 } 242 }
@@ -273,7 +273,7 @@ static void circ_message(const char *msg)
273 buf->tail = k + 1; 273 buf->tail = k + 1;
274 } else { 274 } else {
275 printf 275 printf
276 ("Weird! Can't find the terminator token from the beginning??? \n"); 276 ("Weird! Can't find the terminator token from the beginning?\n");
277 buf->head = buf->tail = 0; /* reset buffer, since it's probably corrupted */ 277 buf->head = buf->tail = 0; /* reset buffer, since it's probably corrupted */
278 } 278 }
279 279