From 9ff210a134db69ca5e5fd54555dd772468f70764 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 12 Nov 2003 15:14:48 +0000 Subject: [PATCH] Use the SYSLOG_PORT_NAME constant instead of the name directly. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5330 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/libroot/posix/syslog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/libroot/posix/syslog.cpp b/src/kernel/libroot/posix/syslog.cpp index 7f092373b7..b1af229dfa 100644 --- a/src/kernel/libroot/posix/syslog.cpp +++ b/src/kernel/libroot/posix/syslog.cpp @@ -102,7 +102,7 @@ send_syslog_message(syslog_context *context, int priority, const char *text, va_ if ((context->mask & LOG_MASK(priority)) == 0) return; - port_id port = find_port("syslog_daemon"); + port_id port = find_port(SYSLOG_PORT_NAME); if (port < B_OK) { // apparently, there is no syslog daemon running; if asked // for, print out the (simplified) message on stderr