From: Ruediger Meier Date: Sun, 8 Jun 2014 13:32:48 +0000 (+0200) Subject: libfdisk: fix bsd_translate_fstype() for alpha X-Git-Tag: v2.25-rc1~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b166f2482541689bce6de90430214ebc7de46d1;p=thirdparty%2Futil-linux.git libfdisk: fix bsd_translate_fstype() for alpha Reported-by: Tobias Klausmann Signed-off-by: Ruediger Meier --- diff --git a/libfdisk/src/bsd.c b/libfdisk/src/bsd.c index a81afd2c3c..df0fc135fd 100644 --- a/libfdisk/src/bsd.c +++ b/libfdisk/src/bsd.c @@ -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: