You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2017/03/06 04:00:15 UTC
[trafficserver] 01/03: Fix for ignored return value in Ubuntu
builds.
This is an automated email from the ASF dual-hosted git repository.
sorber pushed a commit to branch 6.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 82df1d571629fe4230637247bfbb486bdd88d7d6
Author: Alan M. Carroll <am...@apache.org>
AuthorDate: Sat Feb 25 00:48:45 2017 -0600
Fix for ignored return value in Ubuntu builds.
(cherry picked from commit bae599dba5e92d9e503b4c908576a540c38a3614)
---
lib/ts/signals.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/ts/signals.cc b/lib/ts/signals.cc
index 6bb6c9b..114350b 100644
--- a/lib/ts/signals.cc
+++ b/lib/ts/signals.cc
@@ -170,7 +170,7 @@ signal_format_siginfo(int signo, siginfo_t *info, const char *msg)
snprintf(buf, sizeof(buf), "%s: received signal %d\n", msg, signo);
#endif
- write(STDERR_FILENO, buf, strlen(buf));
+ (void)write(STDERR_FILENO, buf, strlen(buf));
}
void
--
To stop receiving notification emails like this one, please contact
"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>.