Skip to content

Commit a10c9d7

Browse files
committed
Fix FreeBSD deprecated import
1 parent 78babae commit a10c9d7

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
@@ -5155,7 +5155,7 @@ ulong getAvailableDiskSpace(scope const(char)[] path) @safe
51555155

51565156
version (FreeBSD)
51575157
{
5158-
import core.sys.posix.sys.statvfs : statfs, statfs_t;
5158+
import core.sys.freebsd.sys.mount : statfs, statfs_t;
51595159

51605160
statfs_t stats;
51615161
auto err = () @trusted {

0 commit comments

Comments
 (0)