diff options
author | Denys Vlasenko | 2010-10-28 05:38:11 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-10-28 05:38:11 +0200 |
commit | 16cc80e9890c0409921b0463e5678649a893ae7f (patch) | |
tree | 231e30c01e4ee616c44e3183cdeca3813ddc4b65 /util-linux/fdisk_gpt.c | |
parent | db9ccc57728ccc7ca3c949437828e3d6d9d2dc5d (diff) | |
download | busybox-16cc80e9890c0409921b0463e5678649a893ae7f.zip busybox-16cc80e9890c0409921b0463e5678649a893ae7f.tar.gz |
crc32: cleanups, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/fdisk_gpt.c')
-rw-r--r-- | util-linux/fdisk_gpt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/util-linux/fdisk_gpt.c b/util-linux/fdisk_gpt.c index 4dfb5b2..1ab1293 100644 --- a/util-linux/fdisk_gpt.c +++ b/util-linux/fdisk_gpt.c @@ -55,11 +55,10 @@ gpt_part(int i) return (gpt_partition *)&part_array[i * part_entry_len]; } -/* TODO: move to libbb */ static uint32_t gpt_crc32(void *buf, int len) { - return 0xffffffff ^ crc32_block_endian0(0xffffffff, buf, len, global_crc32_table); + return ~crc32_block_endian0(0xffffffff, buf, len, global_crc32_table); } static void |