Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 444718
Collapse All | Expand All

(-)a/miscutils/watchdog.c (+2 lines)
Lines 95-100 int watchdog_main(int argc, char **argv) Link Here
95
		stimer_duration, htimer_duration * 1000);
95
		stimer_duration, htimer_duration * 1000);
96
#endif
96
#endif
97
97
98
	write_pidfile("/var/run/watchdog.pid");
99
98
	while (1) {
100
	while (1) {
99
		/*
101
		/*
100
		 * Make sure we clear the counter before sleeping,
102
		 * Make sure we clear the counter before sleeping,
(-)a/networking/ntpd.c (+2 lines)
Lines 2080-2085 int ntpd_main(int argc UNUSED_PARAM, char **argv) Link Here
2080
	 */
2080
	 */
2081
	cnt = G.peer_cnt * (INITIAL_SAMPLES + 1);
2081
	cnt = G.peer_cnt * (INITIAL_SAMPLES + 1);
2082
2082
2083
	write_pidfile("/var/run/ntpd.pid");
2084
2083
	while (!bb_got_signal) {
2085
	while (!bb_got_signal) {
2084
		llist_t *item;
2086
		llist_t *item;
2085
		unsigned i, j;
2087
		unsigned i, j;
(-)a/sysklogd/klogd.c (-1 / +2 lines)
Lines 195-200 int klogd_main(int argc UNUSED_PARAM, char **argv) Link Here
195
195
196
	syslog(LOG_NOTICE, "klogd started: %s", bb_banner);
196
	syslog(LOG_NOTICE, "klogd started: %s", bb_banner);
197
197
198
	write_pidfile("/var/run/klogd.pid");
199
198
	used = 0;
200
	used = 0;
199
	while (!bb_got_signal) {
201
	while (!bb_got_signal) {
200
		int n;
202
		int n;
201
- 

Return to bug 444718