diff --git a/scripts/build/Dockerfile.tmpl b/scripts/build/Dockerfile.tmpl index 42f01b362..af0c45d0f 100644 --- a/scripts/build/Dockerfile.tmpl +++ b/scripts/build/Dockerfile.tmpl @@ -25,3 +25,4 @@ RUN make -j $(nproc) CC=$CC criu/parasite-syscall.o RUN make -j $(nproc) CC=$CC RUN make mrproper RUN bash -c 'CLEAN="$(git clean -ndx --exclude=scripts/build --exclude=.config)"; echo "${CLEAN}"; test -z "${CLEAN}"; exit $?' +RUN make -j $(nproc) CC=$CC -C test/zdtm diff --git a/test/zdtm/static/autofs.c b/test/zdtm/static/autofs.c index 2cfeb5187..1238e67d4 100644 --- a/test/zdtm/static/autofs.c +++ b/test/zdtm/static/autofs.c @@ -227,7 +227,7 @@ static int check_fd(struct autofs_params *p) } if (st.st_blksize != p->fd_stat.st_blksize) { pr_err("%s: st_blksize differs %ld != %ld:\n", p->mountpoint, - st.st_blksize, p->fd_stat.st_blksize); + (long)st.st_blksize, (long)p->fd_stat.st_blksize); ret++; } if (st.st_blocks != p->fd_stat.st_blocks) {