diff options
Diffstat (limited to 'tests/sys/kern/pipe/pipe_ino_test.c')
-rw-r--r-- | tests/sys/kern/pipe/pipe_ino_test.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/sys/kern/pipe/pipe_ino_test.c b/tests/sys/kern/pipe/pipe_ino_test.c index 94692aa..c31e4d5 100644 --- a/tests/sys/kern/pipe/pipe_ino_test.c +++ b/tests/sys/kern/pipe/pipe_ino_test.c @@ -53,9 +53,11 @@ main(void) if (fstat(pipefd[1], &st2) == -1) err(1, "FAIL: fstat st2"); if (st1.st_dev != st2.st_dev || st1.st_dev == 0 || st2.st_dev == 0) - errx(1, "FAIL: wrong dev number %d %d", st1.st_dev, st2.st_dev); + errx(1, "FAIL: wrong dev number %ju %ju", + (uintmax_t)st1.st_dev, (uintmax_t)st2.st_dev); if (st1.st_ino == st2.st_ino) - errx(1, "FAIL: inode numbers are equal: %d", st1.st_ino); + errx(1, "FAIL: inode numbers are equal: %ju", + (uintmax_t)st1.st_ino); close(pipefd[0]); close(pipefd[1]); |