diff options
author | Matt Macy <mmacy@FreeBSD.org> | 2020-08-28 18:53:45 +0000 |
---|---|---|
committer | Matt Macy <mmacy@FreeBSD.org> | 2020-08-28 18:53:45 +0000 |
commit | ac0bf12ee5181e3f784b5bb87d60fc5321ebce2d (patch) | |
tree | 1201198222ad94274305aef3766d4cdaeb242cf8 /sys/contrib/openzfs/lib/libspl/include | |
parent | 341ccc993cf6da5ccdb1bc3f457d3c6eb2cb4d49 (diff) | |
parent | 93ddd0259dd285fbac5cc5086a039a22f1b046a1 (diff) | |
download | src-ac0bf12ee5181e3f784b5bb87d60fc5321ebce2d.tar.gz src-ac0bf12ee5181e3f784b5bb87d60fc5321ebce2d.zip |
ZFS: MFV 2.0-rc1-ga00c61
Notes
Notes:
svn path=/head/; revision=364930
Diffstat (limited to 'sys/contrib/openzfs/lib/libspl/include')
-rw-r--r-- | sys/contrib/openzfs/lib/libspl/include/os/freebsd/sys/mount.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/contrib/openzfs/lib/libspl/include/os/freebsd/sys/mount.h b/sys/contrib/openzfs/lib/libspl/include/os/freebsd/sys/mount.h index b4023910005b..e99518571270 100644 --- a/sys/contrib/openzfs/lib/libspl/include/os/freebsd/sys/mount.h +++ b/sys/contrib/openzfs/lib/libspl/include/os/freebsd/sys/mount.h @@ -35,12 +35,8 @@ #include <string.h> #include <stdlib.h> -/* - * Some old glibc headers don't define BLKGETSIZE64 - * and we don't want to require the kernel headers - */ #if !defined(BLKGETSIZE64) -#define BLKGETSIZE64 _IOR(0x12, 114, size_t) +#define BLKGETSIZE64 DIOCGMEDIASIZE #endif /* |