diff options
Diffstat (limited to 'tests/xstatfsx.c')
-rw-r--r-- | tests/xstatfsx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/xstatfsx.c b/tests/xstatfsx.c index d8288f1ff..94af08461 100644 --- a/tests/xstatfsx.c +++ b/tests/xstatfsx.c @@ -64,7 +64,7 @@ print_statfs(const char *const sample, const char *magic_str) if (fd < 0) perror_msg_and_fail("open: %s", sample); - STRUCT_STATFS *const b = tail_alloc(sizeof(*b)); + TAIL_ALLOC_OBJECT_CONST_PTR(STRUCT_STATFS, b); long rc = SYSCALL_INVOKE(sample, fd, b, sizeof(*b)); if (rc) perror_msg_and_skip(SYSCALL_NAME); |