diff options
author | Ruediger Meier | 2014-06-08 15:32:48 +0200 |
---|---|---|
committer | Karel Zak | 2014-06-09 10:43:36 +0200 |
commit | 0b166f2482541689bce6de90430214ebc7de46d1 (patch) | |
tree | 43226364ae4a20a38f9cb6e197e5027cf4eb84c5 /libfdisk/src/bsd.c | |
parent | umount: Make sure exit code does not overflow (diff) | |
download | kernel-qcow2-util-linux-0b166f2482541689bce6de90430214ebc7de46d1.tar.gz kernel-qcow2-util-linux-0b166f2482541689bce6de90430214ebc7de46d1.tar.xz kernel-qcow2-util-linux-0b166f2482541689bce6de90430214ebc7de46d1.zip |
libfdisk: fix bsd_translate_fstype() for alpha
Reported-by: Tobias Klausmann <klausman@schwarzvogel.de>
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'libfdisk/src/bsd.c')
-rw-r--r-- | libfdisk/src/bsd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libfdisk/src/bsd.c b/libfdisk/src/bsd.c index a81afd2c3..df0fc135f 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: |