summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-04-20 01:31:24 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2021-04-20 01:31:24 +0000
commit6919ba8feaa2b397671006a009c4c5b8de89f5a5 (patch)
tree335d5e0364653962c32ba118b892298ae7b9bf00 /src
parent1a26836496bef17fc189777173f87b016da3a76b (diff)
downloads6-linux-init-6919ba8feaa2b397671006a009c4c5b8de89f5a5.tar.xz
Don't use mode_t
Diffstat (limited to 'src')
-rw-r--r--src/init/s6-linux-init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init/s6-linux-init.c b/src/init/s6-linux-init.c
index c868884..96983c8 100644
--- a/src/init/s6-linux-init.c
+++ b/src/init/s6-linux-init.c
@@ -96,7 +96,7 @@ static inline void run_stage2 (char const *basedir, char const **argv, unsigned
int main (int argc, char const **argv, char const *const *envp)
{
- mode_t mask = 0022 ;
+ unsigned int mask = 0022 ;
char const *basedir = BASEDIR ;
char const *path = INITPATH ;
char const *slashdev = 0 ;