summaryrefslogtreecommitdiff
path: root/test/stat
diff options
context:
space:
mode:
Diffstat (limited to 'test/stat')
-rw-r--r--test/stat/memcmp-stat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/stat/memcmp-stat.c b/test/stat/memcmp-stat.c
index 6bc9ddc01..3e0143e94 100644
--- a/test/stat/memcmp-stat.c
+++ b/test/stat/memcmp-stat.c
@@ -72,6 +72,9 @@ int main()
int fd;
struct stat fst, st;
+ memset(&fst, 0xAA, sizeof(fst));
+ memset(&st, 0x55, sizeof(st));
+
unlink(".testfile");
fd = open(".testfile", O_WRONLY | O_CREAT | O_EXCL, 0);
if (fd < 0) {