[PATCH 2/2] procd: fix wrong format for 32-bit

Rosen Penev rosenp at gmail.com
Mon Jul 20 18:35:27 EDT 2020


The proper format is %zu .

Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
 jail/jail.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jail/jail.c b/jail/jail.c
index 5a6802f..90de411 100644
--- a/jail/jail.c
+++ b/jail/jail.c
@@ -1366,7 +1366,7 @@ static int parseOCIprocessuser(struct blob_attr *msg) {
 			}
 			opts.num_additional_gids = gidcnt;
 		}
-		DEBUG("read %lu additional groups\n", gidcnt);
+		DEBUG("read %zu additional groups\n", gidcnt);
 	}
 
 	if (tb[OCI_PROCESS_USER_UMASK]) {
-- 
2.26.2




More information about the openwrt-devel mailing list