diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2016-11-21 14:04:51 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2016-11-21 14:04:51 +0000 |
commit | 2a9643f6aef1a52cdada648f72f1d0ec9c1b711d (patch) | |
tree | 0a183cd77419fffc63782250fba2ce1d4fe22b28 /src | |
parent | c8eb7a57d294eaae17a67a7a57ff06e7bb10010c (diff) | |
download | s6-2a9643f6aef1a52cdada648f72f1d0ec9c1b711d.tar.xz |
Increase s6-log "s" limit to 256MB
Diffstat (limited to 'src')
-rw-r--r-- | src/daemontools-extras/s6-log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemontools-extras/s6-log.c b/src/daemontools-extras/s6-log.c index c3aec9c..0602c66 100644 --- a/src/daemontools-extras/s6-log.c +++ b/src/daemontools-extras/s6-log.c @@ -824,7 +824,7 @@ static inline void script_secondpass (char const *const *argv, scriptelem_t *scr case 's' : if (!uint320_scan(*argv + 1, &s)) goto fail ; if (s < 4096) s = 4096 ; - if (s > 16777215) s = 16777215 ; + if (s > 268435455) s = 268435455 ; break ; case 'S' : if (!uint640_scan(*argv + 1, &maxdirsize)) goto fail ; |