summaryrefslogtreecommitdiff
path: root/runit/runit_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'runit/runit_lib.h')
-rw-r--r--runit/runit_lib.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/runit/runit_lib.h b/runit/runit_lib.h
index c73befc..c644f5b 100644
--- a/runit/runit_lib.h
+++ b/runit/runit_lib.h
@@ -86,9 +86,9 @@ extern unsigned pmatch(const char *, const char *, unsigned);
* runsv / supervise / sv stuff
*/
typedef struct svstatus_t {
- uint64_t time_be64;
- uint32_t time_nsec_be32;
- uint32_t pid_le32;
+ uint64_t time_be64 ATTRIBUTE_PACKED;
+ uint32_t time_nsec_be32 ATTRIBUTE_PACKED;
+ uint32_t pid_le32 ATTRIBUTE_PACKED;
uint8_t paused;
uint8_t want;
uint8_t got_term;