diff options
author | Denis Vlasenko | 2006-11-27 16:48:17 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-11-27 16:48:17 +0000 |
commit | 10d0d4eec7e3a292917f43f72afae20341d9ba11 (patch) | |
tree | eb2f62d0756ae38bde76d61c15b9f3ddd3c41941 /util-linux/fdisk_sgi.c | |
parent | 3ece72dc3f95d195924c760f9ee5059e35908564 (diff) | |
download | busybox-10d0d4eec7e3a292917f43f72afae20341d9ba11.zip busybox-10d0d4eec7e3a292917f43f72afae20341d9ba11.tar.gz |
byteswap ops had extra mask ops - removed
Diffstat (limited to 'util-linux/fdisk_sgi.c')
-rw-r--r-- | util-linux/fdisk_sgi.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/util-linux/fdisk_sgi.c b/util-linux/fdisk_sgi.c index 9d444c0..548a70b 100644 --- a/util-linux/fdisk_sgi.c +++ b/util-linux/fdisk_sgi.c @@ -84,10 +84,8 @@ typedef struct { #define SGI_INFO_MAGIC 0x00072959 #define SGI_INFO_MAGIC_SWAPPED 0x59290700 -#define SGI_SSWAP16(x) (sgi_other_endian ? __swap16(x) \ - : (uint16_t)(x)) -#define SGI_SSWAP32(x) (sgi_other_endian ? __swap32(x) \ - : (uint32_t)(x)) +#define SGI_SSWAP16(x) (sgi_other_endian ? __swap16(x) : (uint16_t)(x)) +#define SGI_SSWAP32(x) (sgi_other_endian ? __swap32(x) : (uint32_t)(x)) #define sgilabel ((sgi_partition *)MBRbuffer) #define sgiparam (sgilabel->devparam) |