From 0467356533d60ab7de402f1e8d02a356e11dbbd3 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 7 May 2019 09:32:25 +0000 Subject: Careful with that stack, Eugene --- src/shutdown/s6-linux-init-shutdown.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 ; -- cgit v1.3.1