Fixes for 0.12.0-dev.2334+aef1da163

This commit is contained in:
Jose Colon Rodriguez
2024-01-27 08:18:18 -04:00
parent a93a0a4f92
commit 1e282e6d7c
3 changed files with 3 additions and 3 deletions

View File

@ -957,7 +957,7 @@ pub const IO = struct {
if (@hasDecl(os.O, "LARGEFILE")) flags |= os.O.LARGEFILE;
var direct_io_supported = false;
var dir_on_tmpfs = try fs_is_tmpfs(dir_fd);
const dir_on_tmpfs = try fs_is_tmpfs(dir_fd);
if (dir_on_tmpfs) {
log.warn("tmpfs is not durable, and your data will be lost on reboot", .{});