summaryrefslogtreecommitdiff
path: root/src/libs6/s6_svstatus_pack.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-08-30 19:11:44 +0000
committerLaurent Bercot <ska@appnovation.com>2021-08-30 19:11:44 +0000
commit691c69e626e4ceb85567a5288348bd04378fd410 (patch)
tree9ae1c3f2c2984aafa2b9caf7987fe0011fcf6828 /src/libs6/s6_svstatus_pack.c
parent1719a60278cf36558b568349c0c9f9b5eb91c999 (diff)
downloads6-691c69e626e4ceb85567a5288348bd04378fd410.tar.xz
s6-svlink, s6-svunlink, .h changes
Renamed from s6-svdir-(un)link. Doc added. Full functionality added. Still need to be tested. Unrelated: .h names simplified. Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/libs6/s6_svstatus_pack.c')
-rw-r--r--src/libs6/s6_svstatus_pack.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/libs6/s6_svstatus_pack.c b/src/libs6/s6_svstatus_pack.c
index ef2d5bd..a769c08 100644
--- a/src/libs6/s6_svstatus_pack.c
+++ b/src/libs6/s6_svstatus_pack.c
@@ -4,7 +4,7 @@
#include <skalibs/uint16.h>
#include <skalibs/uint64.h>
#include <skalibs/tai.h>
-#include <s6/s6-supervise.h>
+#include <s6/supervise.h>
void s6_svstatus_pack (char *pack, s6_svstatus_t const *sv)
{
@@ -15,8 +15,6 @@ void s6_svstatus_pack (char *pack, s6_svstatus_t const *sv)
pack[34] =
sv->flagpaused |
(sv->flagfinishing << 1) |
- (sv->flagwant << 2) |
- (sv->flagwantup << 3) |
- (sv->flagready << 4) |
- (sv->flagthrottled << 5) ;
+ (sv->flagwantup << 2) |
+ (sv->flagready << 3) ;
}