summaryrefslogtreecommitdiff
path: root/sysklogd/logger.c
diff options
context:
space:
mode:
authorMark Whitley2000-12-07 19:56:48 +0000
committerMark Whitley2000-12-07 19:56:48 +0000
commitf57c944e09417edcbcd69f2b01b937cadef39db2 (patch)
treea55822621d54bd82c54e272fa986e45698fea0f1 /sysklogd/logger.c
parent7b5c16ebe5f1b057603cf1c0b0187be418725c42 (diff)
downloadbusybox-f57c944e09417edcbcd69f2b01b937cadef39db2.zip
busybox-f57c944e09417edcbcd69f2b01b937cadef39db2.tar.gz
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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysklogd/logger.c b/sysklogd/logger.c
index 8e341ef..1ed6dc6 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));