diff options
author | Denys Vlasenko | 2010-05-09 00:13:40 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-05-09 00:13:40 +0200 |
commit | 6774386d95cec54258f23f69bc287c99e205ebdf (patch) | |
tree | 51a81051eb233a15e6107579c8573ecec5b09726 /util-linux/mkfs_vfat.c | |
parent | 19afe848eca8d3baf149cd7ed715489403360287 (diff) | |
download | busybox-6774386d95cec54258f23f69bc287c99e205ebdf.zip busybox-6774386d95cec54258f23f69bc287c99e205ebdf.tar.gz |
tune2fs: move to e2fsprogs
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/mkfs_vfat.c')
-rw-r--r-- | util-linux/mkfs_vfat.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/util-linux/mkfs_vfat.c b/util-linux/mkfs_vfat.c index 1363612..ff3e416 100644 --- a/util-linux/mkfs_vfat.c +++ b/util-linux/mkfs_vfat.c @@ -16,7 +16,6 @@ # define BLKSSZGET _IO(0x12, 104) #endif //#include <linux/msdos_fs.h> -#include "volume_id/volume_id_internal.h" #define SECTOR_SIZE 512 @@ -168,15 +167,15 @@ static const char boot_code[] ALIGN1 = #define MARK_CLUSTER(cluster, value) \ - ((uint32_t *)fat)[cluster] = cpu_to_le32(value) + ((uint32_t *)fat)[cluster] = SWAP_LE32(value) void BUG_unsupported_field_size(void); #define STORE_LE(field, value) \ do { \ if (sizeof(field) == 4) \ - field = cpu_to_le32(value); \ + field = SWAP_LE32(value); \ else if (sizeof(field) == 2) \ - field = cpu_to_le16(value); \ + field = SWAP_LE16(value); \ else if (sizeof(field) == 1) \ field = (value); \ else \ |