Removed unneded colon in the argument to perror.
Showing
2 changed files
with
2 additions
and
13 deletions
... | @@ -215,7 +215,7 @@ comsat_daemon_init (void) | ... | @@ -215,7 +215,7 @@ comsat_daemon_init (void) |
215 | first three one, in, out, err. Do not do the chdir("/"). */ | 215 | first three one, in, out, err. Do not do the chdir("/"). */ |
216 | if (daemon (1, 0) < 0) | 216 | if (daemon (1, 0) < 0) |
217 | { | 217 | { |
218 | perror (_("failed to become a daemon:")); | 218 | perror (_("failed to become a daemon")); |
219 | exit (EXIT_FAILURE); | 219 | exit (EXIT_FAILURE); |
220 | } | 220 | } |
221 | } | 221 | } |
... | @@ -603,14 +603,3 @@ mailbox_path (const char *user) | ... | @@ -603,14 +603,3 @@ mailbox_path (const char *user) |
603 | return mailbox_name; | 603 | return mailbox_name; |
604 | } | 604 | } |
605 | 605 | ||
606 | #if 0 | ||
607 | /* A debugging hook */ | ||
608 | volatile int _st=0; | ||
609 | void | ||
610 | stop() | ||
611 | { | ||
612 | syslog (LOG_ALERT, _("waiting for debug")); | ||
613 | while (!_st) | ||
614 | _st=_st; | ||
615 | } | ||
616 | #endif | ... | ... |
... | @@ -279,7 +279,7 @@ imap4d_daemon_init (void) | ... | @@ -279,7 +279,7 @@ imap4d_daemon_init (void) |
279 | first three one, in, out, err */ | 279 | first three one, in, out, err */ |
280 | if (daemon (0, 0) < 0) | 280 | if (daemon (0, 0) < 0) |
281 | { | 281 | { |
282 | perror (_("fork failed:")); | 282 | perror (_("fork failed")); |
283 | exit (1); | 283 | exit (1); |
284 | } | 284 | } |
285 | 285 | ... | ... |
-
Please register or sign in to post a comment