jail: fix wrong format for 32-bit
authorRosen Penev <rosenp@gmail.com>
Mon, 20 Jul 2020 22:35:27 +0000 (15:35 -0700)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 20 Jul 2020 22:52:18 +0000 (23:52 +0100)
The proper format for size_t is %zu .

Signed-off-by: Rosen Penev <rosenp@gmail.com>
jail/jail.c

index 5a6802ff921dfd92853ae118658197d8a1c782fe..90de41107915915a0fcc10d0524c72c8e934c75c 100644 (file)
@@ -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]) {