diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-07-16 16:18:22 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-07-16 16:18:22 +0000 |
commit | 9f808a8c646f27ff3ca5b80d24534c0587fab559 (patch) | |
tree | d18436fec8c2c4ee362104d0e10971e58529e58c /src/skaembutils/s6-dumpenv.c | |
parent | 455f02a00416373558bfbdbd22e672687c91b520 (diff) | |
download | s6-portable-utils-9f808a8c646f27ff3ca5b80d24534c0587fab559.tar.xz |
Declare unsigned int, not mode_t, when scanning into it: mode_t may be short
Diffstat (limited to 'src/skaembutils/s6-dumpenv.c')
-rw-r--r-- | src/skaembutils/s6-dumpenv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/skaembutils/s6-dumpenv.c b/src/skaembutils/s6-dumpenv.c index 55028b3..26d06b8 100644 --- a/src/skaembutils/s6-dumpenv.c +++ b/src/skaembutils/s6-dumpenv.c @@ -14,7 +14,7 @@ int main (int argc, char const *const *argv, char const *const *envp) { - mode_t mode = S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH ; + unsigned int mode = S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH ; size_t dirlen ; PROG = "s6-dumpenv" ; |