diff options
Diffstat (limited to 'tests/ustat.c')
-rw-r--r-- | tests/ustat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ustat.c b/tests/ustat.c index 57bb29c27..3341c70ed 100644 --- a/tests/ustat.c +++ b/tests/ustat.c @@ -47,7 +47,7 @@ main(void) long rc; # ifdef HAVE_USTAT_H - struct ustat *const ust = tail_alloc(sizeof(*ust)); + TAIL_ALLOC_OBJECT_CONST_PTR(struct ustat, ust); struct stat st; if (stat(".", &st)) perror_msg_and_fail("stat"); |