From 158d9b84f14457136379f42e7c071eb79d87ee6b Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Sun, 5 Dec 2021 06:53:03 -0800 Subject: Feat: libbase partitioning. Cleaned up hash map macros. Additionally, fixed varargs cleanup when done with fmt.write. Some system constants were added to allow for directory walking. --- sys/linux/src/info.c | 2 +- sys/linux/src/infofd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/linux/src') diff --git a/sys/linux/src/info.c b/sys/linux/src/info.c index 60f32a0..81b85b9 100644 --- a/sys/linux/src/info.c +++ b/sys/linux/src/info.c @@ -3,5 +3,5 @@ int sys·info(char *path, sys·Info *file) { - return sys·infoat(sys·FdCwd, path, 0, sys·InfoAll, file); + return sys·infoat(sys·FdCwd, path, 0, sys·InfoWantAll, file); } diff --git a/sys/linux/src/infofd.c b/sys/linux/src/infofd.c index 770009a..2c22c72 100644 --- a/sys/linux/src/infofd.c +++ b/sys/linux/src/infofd.c @@ -5,5 +5,5 @@ sys·infofd(int fd, sys·Info *file) { if(fd < 0) return sys·ErrorBadFd; - return sys·infoat(fd, "", sys·AtEmptyPath, sys·InfoAll, file); + return sys·infoat(fd, "", sys·AtEmptyPath, sys·InfoWantAll, file); } -- cgit v1.2.1