diff options
| author | Marc Tiehuis <marctiehuis@gmail.com> | 2018-03-23 22:41:08 +1300 |
|---|---|---|
| committer | Marc Tiehuis <marctiehuis@gmail.com> | 2018-03-23 22:41:08 +1300 |
| commit | 7350181a4a778f9d03186e5123beffdf80f58606 (patch) | |
| tree | 9b6e75b7cf5393a3f3b1fc789cd95706227571a5 /std/os | |
| parent | 3d1732ef6c8ebc7edf10485f61b4ec905303cd8a (diff) | |
| download | zig-7350181a4a778f9d03186e5123beffdf80f58606.tar.gz zig-7350181a4a778f9d03186e5123beffdf80f58606.zip | |
Fix os.File.mode function
Diffstat (limited to 'std/os')
| -rw-r--r-- | std/os/file.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/os/file.zig b/std/os/file.zig index 772fbf7c73..eed3a443b9 100644 --- a/std/os/file.zig +++ b/std/os/file.zig @@ -233,7 +233,7 @@ pub const File = struct { Unexpected, }; - fn mode(self: &File) ModeError!FileMode { + fn mode(self: &File) ModeError!os.FileMode { if (is_posix) { var stat: posix.Stat = undefined; const err = posix.getErrno(posix.fstat(self.handle, &stat)); |
