diff --git a/drivers/syslog/syslog_stream.c b/drivers/syslog/syslog_stream.c index e3e2b1b57d..6f323be096 100644 --- a/drivers/syslog/syslog_stream.c +++ b/drivers/syslog/syslog_stream.c @@ -225,7 +225,7 @@ void syslogstream_create(FAR struct lib_syslogstream_s *stream) #ifdef CONFIG_SYSLOG_BUFFER /* Allocate an IOB */ - iob = iob_alloc(true); + iob = iob_tryalloc(true); stream->iob = iob; if (iob != NULL)