]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libfdisk: fix bsd_translate_fstype() for alpha
authorRuediger Meier <ruediger.meier@ga-group.nl>
Sun, 8 Jun 2014 13:32:48 +0000 (15:32 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 9 Jun 2014 08:43:36 +0000 (10:43 +0200)
Reported-by: Tobias Klausmann <klausman@schwarzvogel.de>
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
libfdisk/src/bsd.c

index a81afd2c3c8941edb0f069446e0ffc30d11cc777..df0fc135fd230bcdbb9fc81770cb38589352951e 100644 (file)
@@ -773,8 +773,10 @@ static int bsd_translate_fstype (int linux_type)
        case 0x06: /* DOS 16-bit >=32M */
        case 0xe1: /* DOS access       */
        case 0xe3: /* DOS R/O          */
+#if !defined (__alpha__)
        case 0xf2: /* DOS secondary    */
                return BSD_FS_MSDOS;
+#endif
        case 0x07: /* OS/2 HPFS        */
                return BSD_FS_HPFS;
        default: