summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-11-30 17:48:17 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-11-30 17:48:17 +0000
commitad3780154bc26266d5a4ed71f12b9c603ca3b0ab (patch)
treea512ce975e56d6847bac6aa2c0f19bff51804347 /src
parentf231dfc2774dc450ce7d14a139ac25675cd353d7 (diff)
downloads6-linux-utils-ad3780154bc26266d5a4ed71f12b9c603ca3b0ab.tar.gz
s6-linux-utils-ad3780154bc26266d5a4ed71f12b9c603ca3b0ab.tar.xz
s6-linux-utils-ad3780154bc26266d5a4ed71f12b9c603ca3b0ab.zip
- Fix selfpipe_read invocations
 - Easier CROSS_COMPILE support in configure
Diffstat (limited to 'src')
-rw-r--r--src/minutils/s6-uevent-listener.c2
-rw-r--r--src/minutils/s6-uevent-spawner.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/minutils/s6-uevent-listener.c b/src/minutils/s6-uevent-listener.c
index 14a48f1..f6e9c4b 100644
--- a/src/minutils/s6-uevent-listener.c
+++ b/src/minutils/s6-uevent-listener.c
@@ -55,7 +55,7 @@ static inline void handle_signals (void)
 {
   for (;;)
   {
-    char c = selfpipe_read() ;
+    int c = selfpipe_read() ;
     switch (c)
     {
       case -1 : strerr_diefu1sys(111, "selfpipe_read") ;
diff --git a/src/minutils/s6-uevent-spawner.c b/src/minutils/s6-uevent-spawner.c
index 2880405..6ccc4ce 100644
--- a/src/minutils/s6-uevent-spawner.c
+++ b/src/minutils/s6-uevent-spawner.c
@@ -106,7 +106,7 @@ static inline void handle_signals (void)
 {
   for (;;)
   {
-    char c = selfpipe_read() ;
+    int c = selfpipe_read() ;
     switch (c)
     {
       case -1 : strerr_diefu1sys(111, "selfpipe_read") ;