[LTP] [PATCH] lapi/ustat.h: Replace daddr_t with long
Petr Vorel
pvorel@suse.cz
Mon May 20 23:49:11 CEST 2019
From: Petr Vorel <petr.vorel@gmail.com>
daddr_t is usually typedef to __kernel_daddr_t,
which is int or long.
Using long as daddr_t is not defined at least on musl.
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
---
include/lapi/ustat.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/lapi/ustat.h b/include/lapi/ustat.h
index 12c073582..030179c4a 100644
--- a/include/lapi/ustat.h
+++ b/include/lapi/ustat.h
@@ -11,7 +11,7 @@
# include <sys/ustat.h>
#else
struct ustat {
- daddr_t f_tfree;
+ long f_tfree;
ino_t f_tinode;
char f_fname[6];
char f_fpack[6];
--
2.21.0
More information about the ltp
mailing list