Diff of /trunk/mkinitrd-magellan/busybox/sysklogd/logread.c
Parent Directory | Revision Log | Patch
revision 983 by niro, Fri Apr 24 18:33:46 2009 UTC | revision 984 by niro, Sun May 30 11:32:42 2010 UTC | |
---|---|---|
# | Line 135 int logread_main(int argc UNUSED_PARAM, | Line 135 int logread_main(int argc UNUSED_PARAM, |
135 | } else { /* logread -f */ | } else { /* logread -f */ |
136 | if (cur == shbuf_tail) { | if (cur == shbuf_tail) { |
137 | sem_up(log_semid); | sem_up(log_semid); |
138 | fflush(stdout); | fflush_all(); |
139 | sleep(1); /* TODO: replace me with a sleep_on */ | sleep(1); /* TODO: replace me with a sleep_on */ |
140 | continue; | continue; |
141 | } | } |
|