From 885f5974cdf65b59415837ae97f5a14ef1350670 Mon Sep 17 00:00:00 2001 From: Kacper Date: Tue, 9 Dec 2025 19:20:15 +0100 Subject: feat: add gzip and new headers --- lib/libc/statvfs/fstatvfs.c | 2 +- lib/libc/statvfs/statvfs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc/statvfs') diff --git a/lib/libc/statvfs/fstatvfs.c b/lib/libc/statvfs/fstatvfs.c index 8bf78d35..048db737 100644 --- a/lib/libc/statvfs/fstatvfs.c +++ b/lib/libc/statvfs/fstatvfs.c @@ -4,7 +4,7 @@ int fstatvfs(int fildes, struct __statvfs *buf) { - struct statfs statfs; + struct statfs statfs = { 0 }; if (syscall(fstatfs, fildes, &statfs) < 0) return -1; diff --git a/lib/libc/statvfs/statvfs.c b/lib/libc/statvfs/statvfs.c index df8c9544..3a7c1f3e 100644 --- a/lib/libc/statvfs/statvfs.c +++ b/lib/libc/statvfs/statvfs.c @@ -4,7 +4,7 @@ int statvfs(const char *restrict path, struct __statvfs *restrict buf) { - struct statfs statfs; + struct statfs statfs = { 0 }; if (syscall(statfs, path, &statfs) < 0) return -1; -- cgit v1.2.3