diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-05-07 09:32:25 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-05-07 09:32:25 +0000 |
commit | 0467356533d60ab7de402f1e8d02a356e11dbbd3 (patch) | |
tree | 4ace0efcaf3439b93d1bc4099c85b50e1b7e61ba /src | |
parent | cc5e22c27db8a2d3bf26791fe8533243d0fb9d75 (diff) | |
download | s6-linux-init-0467356533d60ab7de402f1e8d02a356e11dbbd3.tar.xz |
Careful with that stack, Eugene
Diffstat (limited to 'src')
-rw-r--r-- | src/shutdown/s6-linux-init-shutdown.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shutdown/s6-linux-init-shutdown.c b/src/shutdown/s6-linux-init-shutdown.c index 2779537..757ca7c 100644 --- a/src/shutdown/s6-linux-init-shutdown.c +++ b/src/shutdown/s6-linux-init-shutdown.c @@ -128,7 +128,7 @@ static inline unsigned int parse_authorized_users (char *buf, char const **users { if (n >= max) { - char fmt[UINT32_MAX] ; + char fmt[UINT32_FMT] ; fmt[uint32_fmt(fmt, AC_MAX)] = 0 ; strerr_warnw4x(AC_FILE, " lists more than ", fmt, " authorized users - ignoring the extra ones") ; break ; |