Skip to content

Commit 8082e7d

Browse files
committed
Fix FreeBSD deprecated import
1 parent d0f1960 commit 8082e7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/file.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5268,7 +5268,7 @@ ulong getAvailableDiskSpace(scope const(char)[] path) @safe
52685268

52695269
version (FreeBSD)
52705270
{
5271-
import core.sys.posix.sys.statvfs : statfs, statfs_t;
5271+
import core.sys.freebsd.sys.mount : statfs, statfs_t;
52725272

52735273
statfs_t stats;
52745274
auto err = () @trusted {

0 commit comments

Comments
 (0)