diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-11-30 17:44:43 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-11-30 17:44:43 +0000 |
commit | b8b32b81b482f35f7c36ae9dd266028af613c3dc (patch) | |
tree | 3884ea82d3157ff7a0a9acc567f3eda0d4af2aa3 /src/conn-tools | |
parent | 2524544fa0c6ca061b6d22d4e94173a3ee1289c3 (diff) | |
download | s6-b8b32b81b482f35f7c36ae9dd266028af613c3dc.tar.xz |
- Fix selfpipe_read() invocation: the return is int, not char
- Easier CROSS_COMPILE support in configure
Diffstat (limited to 'src/conn-tools')
-rw-r--r-- | src/conn-tools/s6-ioconnect.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/conn-tools/s6-ioconnect.c b/src/conn-tools/s6-ioconnect.c index 01966cf..abd309b 100644 --- a/src/conn-tools/s6-ioconnect.c +++ b/src/conn-tools/s6-ioconnect.c @@ -55,8 +55,7 @@ static void handle_signals (void) { for (;;) { - char c = selfpipe_read() ; - switch (c) + switch (selfpipe_read()) { case -1 : strerr_diefu1sys(111, "selfpipe_read") ; case 0 : return ; |