aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2021-06-26 03:14:08 +0100
committerJoão Valverde <j@v6e.pt>2021-07-09 18:24:39 +0100
commitcb61645941a4666f9d287dbe55f3de7c54320165 (patch)
treed037b85a30ae37a71aa3129ed2c00b29a5a00b58 /wsutil
parentba0d6f69abac4b381d38308b981a52b490d36a08 (diff)
wslog: Fix comment
Diffstat (limited to 'wsutil')
-rw-r--r--wsutil/wslog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wsutil/wslog.c b/wsutil/wslog.c
index ceb1c4aaf3..071696c340 100644
--- a/wsutil/wslog.c
+++ b/wsutil/wslog.c
@@ -586,8 +586,8 @@ static void glib_log_handler(const char *domain, GLogLevelFlags flags,
/*
* We can't write to stderr in ws_log_init() because dumpcap uses stderr
- * to communicate with the parent and it will block. Any failures are
- * therefore ignored.
+ * to communicate with the parent and it will block. We have to use
+ * vcmdarg_err to report errors.
*/
void ws_log_init(const char *progname,
void (*vcmdarg_err)(const char *, va_list ap))