summaryrefslogtreecommitdiff
path: root/src/libs6
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs6')
-rw-r--r--[-rwxr-xr-x]src/libs6/deps-lib/s60
-rw-r--r--src/libs6/ftrigr_start.c2
-rw-r--r--src/libs6/ftrigr_startf.c2
-rw-r--r--src/libs6/s6-ftrigrd.c4
-rw-r--r--src/libs6/s6lock_start.c2
-rw-r--r--src/libs6/s6lockd.c4
6 files changed, 7 insertions, 7 deletions
diff --git a/src/libs6/deps-lib/s6 b/src/libs6/deps-lib/s6
index 502694e..502694e 100755..100644
--- a/src/libs6/deps-lib/s6
+++ b/src/libs6/deps-lib/s6
diff --git a/src/libs6/ftrigr_start.c b/src/libs6/ftrigr_start.c
index baf9ce5..4cf9e72 100644
--- a/src/libs6/ftrigr_start.c
+++ b/src/libs6/ftrigr_start.c
@@ -6,5 +6,5 @@
int ftrigr_start (ftrigr_t *a, char const *path, tain_t const *deadline, tain_t *stamp)
{
- return skaclient_start_b(&a->connection, &a->buffers, path, FTRIGR_BANNER1, FTRIGR_BANNER1_LEN, FTRIGR_BANNER2, FTRIGR_BANNER2_LEN, deadline, stamp) ;
+ return skaclient_start_b(&a->connection, &a->buffers, path, 0, FTRIGR_BANNER1, FTRIGR_BANNER1_LEN, FTRIGR_BANNER2, FTRIGR_BANNER2_LEN, deadline, stamp) ;
}
diff --git a/src/libs6/ftrigr_startf.c b/src/libs6/ftrigr_startf.c
index ee89634..47c310d 100644
--- a/src/libs6/ftrigr_startf.c
+++ b/src/libs6/ftrigr_startf.c
@@ -4,7 +4,7 @@
#include <skalibs/skaclient.h>
#include <s6/ftrigr.h>
-int ftrigr_startf (ftrigr_ref a, tain_t const *deadline, tain_t *stamp)
+int ftrigr_startf (ftrigr_t *a, tain_t const *deadline, tain_t *stamp)
{
static char const *const cargv[2] = { FTRIGRD_PROG, 0 } ;
static char const *const cenvp[1] = { 0 } ;
diff --git a/src/libs6/s6-ftrigrd.c b/src/libs6/s6-ftrigrd.c
index f9b3201..7a32662 100644
--- a/src/libs6/s6-ftrigrd.c
+++ b/src/libs6/s6-ftrigrd.c
@@ -233,13 +233,13 @@ int main (void)
/* client is reading */
if (x[1].revents & IOPAUSE_WRITE)
- if ((unixmessage_sender_flush(unixmessage_sender_1) < 0) && !error_isagain(errno))
+ if (!unixmessage_sender_flush(unixmessage_sender_1) && !error_isagain(errno))
{
cleanup() ;
strerr_diefu1sys(111, "flush stdout") ;
}
if (x[2].revents & IOPAUSE_WRITE)
- if ((!unixmessage_sender_flush(unixmessage_sender_x) < 0) && !error_isagain(errno))
+ if (!unixmessage_sender_flush(unixmessage_sender_x) && !error_isagain(errno))
{
cleanup() ;
strerr_diefu1sys(111, "flush asyncout") ;
diff --git a/src/libs6/s6lock_start.c b/src/libs6/s6lock_start.c
index e7993d9..3f60b6f 100644
--- a/src/libs6/s6lock_start.c
+++ b/src/libs6/s6lock_start.c
@@ -8,5 +8,5 @@
int s6lock_start (s6lock_t *a, char const *path, tain_t const *deadline, tain_t *stamp)
{
- return skaclient_start_b(&a->connection, &a->buffers, path, S6LOCK_BANNER1, S6LOCK_BANNER1_LEN, S6LOCK_BANNER2, S6LOCK_BANNER2_LEN, deadline, stamp) ;
+ return skaclient_start_b(&a->connection, &a->buffers, path, 0, S6LOCK_BANNER1, S6LOCK_BANNER1_LEN, S6LOCK_BANNER2, S6LOCK_BANNER2_LEN, deadline, stamp) ;
}
diff --git a/src/libs6/s6lockd.c b/src/libs6/s6lockd.c
index ef088f9..22378e3 100644
--- a/src/libs6/s6lockd.c
+++ b/src/libs6/s6lockd.c
@@ -257,13 +257,13 @@ int main (int argc, char const *const *argv)
/* client is reading */
if (x[1].revents & IOPAUSE_WRITE)
- if ((unixmessage_sender_flush(unixmessage_sender_1) < 0) && !error_isagain(errno))
+ if (!unixmessage_sender_flush(unixmessage_sender_1) && !error_isagain(errno))
{
cleanup() ;
strerr_diefu1sys(111, "flush stdout") ;
}
if (x[2].revents & IOPAUSE_WRITE)
- if ((unixmessage_sender_flush(unixmessage_sender_x) < 0) && !error_isagain(errno))
+ if (!unixmessage_sender_flush(unixmessage_sender_x) && !error_isagain(errno))
{
cleanup() ;
strerr_diefu1sys(111, "flush asyncout") ;