OSDN Git Service

libblkid: avoid DIOCGDINFO where missing.
authorMatthias Andree <matthias.andree@gmx.de>
Wed, 8 Jun 2016 18:26:38 +0000 (14:26 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 8 Jun 2016 18:26:38 +0000 (14:26 -0400)
commit434413ccde34a56dd29996786dabbd02f70aa4c8
tree833a9d1d84ba9ce45373b31cf98cf2fc96f0985a
parentc0495d96fd1f7015e7beb3d9363cbe949d133173
libblkid: avoid DIOCGDINFO where missing.

FreeBSD 11 will remove the DIOCGINFO ioctl(), so check if it is defined
before referencing it.

Signed-off-by: Matthias Andree <matthias.andree@gmx.de>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/blkid/getsize.c