summaryrefslogtreecommitdiff
path: root/src/libs6/s6_svstatus_unpack.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs6/s6_svstatus_unpack.c')
-rw-r--r--src/libs6/s6_svstatus_unpack.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/libs6/s6_svstatus_unpack.c b/src/libs6/s6_svstatus_unpack.c
index b641c8c..59df671 100644
--- a/src/libs6/s6_svstatus_unpack.c
+++ b/src/libs6/s6_svstatus_unpack.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_unpack (char const *pack, s6_svstatus_t *sv)
{
@@ -18,8 +18,6 @@ void s6_svstatus_unpack (char const *pack, s6_svstatus_t *sv)
sv->wstat = wstat ;
sv->flagpaused = pack[34] & 1 ;
sv->flagfinishing = !!(pack[34] & 2) ;
- sv->flagwant = !!(pack[34] & 4) ;
- sv->flagwantup = !!(pack[34] & 8) ;
- sv->flagready = !!(pack[34] & 16) ;
- sv->flagthrottled = !!(pack[34] & 32) ;
+ sv->flagwantup = !!(pack[34] & 4) ;
+ sv->flagready = !!(pack[34] & 8) ;
}