Browse Source
Switch to write_all instead Error on gcc 7.3.0: lightningd/lightningd.c: In function ‘on_sigterm’: lightningd/lightningd.c:587:9: error: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Werror=unused-result] write(STDERR_FILENO, msg, strlen(msg)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: William Casarin <jb55@jb55.com>pr-2218
William Casarin
6 years ago
committed by
Rusty Russell
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue