summaryrefslogtreecommitdiffstats
path: root/ldpd/ldpd.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-08-06 18:36:50 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-08-14 22:02:05 +0200
commit09c866e34dd6f1725ff5a2354017c13485c2c755 (patch)
tree5dd5e6484250d6388453ace46240d210af30df36 /ldpd/ldpd.c
parent*: rename ferr_ref -> log_ref (diff)
downloadfrr-09c866e34dd6f1725ff5a2354017c13485c2c755.tar.xz
frr-09c866e34dd6f1725ff5a2354017c13485c2c755.zip
*: rename ferr_zlog -> flog_err_sys
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'ldpd/ldpd.c')
-rw-r--r--ldpd/ldpd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldpd/ldpd.c b/ldpd/ldpd.c
index 494d1bacd..e830263de 100644
--- a/ldpd/ldpd.c
+++ b/ldpd/ldpd.c
@@ -484,9 +484,9 @@ start_child(enum ldpd_process p, char *argv0, int fd_async, int fd_sync)
nullfd = open("/dev/null", O_RDONLY | O_NOCTTY);
if (nullfd == -1) {
- flog_err(LIB_ERR_SYSTEM_CALL,
- "%s: failed to open /dev/null: %s", __func__,
- safe_strerror(errno));
+ flog_err_sys(LIB_ERR_SYSTEM_CALL,
+ "%s: failed to open /dev/null: %s", __func__,
+ safe_strerror(errno));
} else {
dup2(nullfd, 0);
dup2(nullfd, 1);