summaryrefslogtreecommitdiff
path: root/src/daemontools-extras/s6-log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemontools-extras/s6-log.c')
-rw-r--r--src/daemontools-extras/s6-log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/daemontools-extras/s6-log.c b/src/daemontools-extras/s6-log.c
index e7133b1..0fdbf68 100644
--- a/src/daemontools-extras/s6-log.c
+++ b/src/daemontools-extras/s6-log.c
@@ -1262,6 +1262,7 @@ int main (int argc, char const *const *argv)
if (!bufalloc_flush(bufalloc_1) && !error_isagain(errno))
{
unsigned int i = actlen ;
+ strerr_warnwu1sys("write to stdout, closing the stream - error was") ;
fd_close(1) ;
bufalloc_1->fd = -1 ;
bufalloc_free(bufalloc_1) ;