Added a comment about a missing dump of the message to stderr if write_port()
fails. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5338 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
05f8d13ed9
commit
c094c0c22b
@ -137,6 +137,8 @@ send_syslog_message(syslog_context *context, int priority, const char *text, va_
|
||||
|
||||
while (write_port(port, SYSLOG_MESSAGE, &message, sizeof(syslog_message) + length) == B_INTERRUPTED);
|
||||
// make sure the message gets send (if there is a valid port)
|
||||
|
||||
// ToDo: if write_port() returns an error, LOG_CONS is not respected
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user