diff options
author | Mark Whitley <markw@lineo.com> | 2000-12-07 22:56:48 +0300 |
---|---|---|
committer | Mark Whitley <markw@lineo.com> | 2000-12-07 22:56:48 +0300 |
commit | f57c944e09417edcbcd69f2b01b937cadef39db2 (patch) | |
tree | a55822621d54bd82c54e272fa986e45698fea0f1 /sysklogd/logger.c | |
parent | 7b5c16ebe5f1b057603cf1c0b0187be418725c42 (diff) |
Changed names of functions in utility.c and all affected files, to make
compliant with the style guide. Everybody rebuild your tags file!
Diffstat (limited to 'sysklogd/logger.c')
-rw-r--r-- | sysklogd/logger.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysklogd/logger.c b/sysklogd/logger.c index 8e341efe9..1ed6dc639 100644 --- a/sysklogd/logger.c +++ b/sysklogd/logger.c @@ -85,14 +85,14 @@ static int pencode(char *s) *s = '\0'; fac = decode(save, facilitynames); if (fac < 0) - fatalError("unknown facility name: %s\n", save); + error_msg_and_die("unknown facility name: %s\n", save); *s++ = '.'; } else { s = save; } lev = decode(s, prioritynames); if (lev < 0) - fatalError("unknown priority name: %s\n", save); + error_msg_and_die("unknown priority name: %s\n", save); return ((lev & LOG_PRIMASK) | (fac & LOG_FACMASK)); } @@ -152,7 +152,7 @@ extern int logger_main(int argc, char **argv) if (argc >= 1) message = *argv; else - fatalError("No message\n"); + error_msg_and_die("No message\n"); } openlog(name, option, (pri | LOG_FACMASK)); |