summaryrefslogtreecommitdiff
path: root/src/shutdown/s6-linux-init-shutdown.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-05-07 09:32:25 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-05-07 09:32:25 +0000
commit0467356533d60ab7de402f1e8d02a356e11dbbd3 (patch)
tree4ace0efcaf3439b93d1bc4099c85b50e1b7e61ba /src/shutdown/s6-linux-init-shutdown.c
parentcc5e22c27db8a2d3bf26791fe8533243d0fb9d75 (diff)
downloads6-linux-init-0467356533d60ab7de402f1e8d02a356e11dbbd3.tar.xz
Careful with that stack, Eugene
Diffstat (limited to 'src/shutdown/s6-linux-init-shutdown.c')
-rw-r--r--src/shutdown/s6-linux-init-shutdown.c2
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 ;