]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
blockdev: properly check for BLKGETZONESZ ioctl
authorThomas Weißschuh <thomas@t-8ch.de>
Wed, 31 May 2023 10:54:57 +0000 (12:54 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Wed, 31 May 2023 14:11:46 +0000 (16:11 +0200)
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
disk-utils/blockdev.c

index 646043eaaef7ace65e96c532887ccf730c099102..e02707d1d8db1c6e19c18b988d2affc1b14295fb 100644 (file)
@@ -178,7 +178,7 @@ static const struct bdc bdcms[] =
                .argval = -1,
                .help = N_("get disk sequence number")
        },{
-#ifdef HAVE_LINUX_BLKZONED_H
+#ifdef BLKGETZONESZ
                IOCTL_ENTRY(BLKGETZONESZ),
                .name = "--getzonesz",
                .argtype = ARG_UINT,