commit 2b0cf28e42e33e775305bd55e52e72ffcecad2c1
parent 2fb3fe028895c38480cd6ea3da99325a5ba78c73
Author: Drew DeVault <sir@cmpwn.com>
Date: Tue, 17 May 2022 12:14:49 +0200
os: fix build on FreeBSD
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/os/+freebsd/dirfdfs.ha b/os/+freebsd/dirfdfs.ha
@@ -188,7 +188,7 @@ fn fs_create_file(
mode: fs::mode,
flags: fs::flags...
) (io::file | fs::error) = {
- let oflags = 0;
+ let oflags: fs::flags = 0;
if (len(flags) == 0z) {
oflags |= fs::flags::WRONLY;
};