summaryrefslogtreecommitdiff
path: root/lib_generic/crc32.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib_generic/crc32.c')
-rw-r--r--lib_generic/crc32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_generic/crc32.c b/lib_generic/crc32.c
index 83d1d1d3a0..b6a7a91620 100644
--- a/lib_generic/crc32.c
+++ b/lib_generic/crc32.c
@@ -174,7 +174,7 @@ uint32_t ZEXPORT crc32 (uint32_t crc, const Bytef *buf, uInt len)
#if defined(CONFIG_CMD_JFFS2) || \
(defined(CONFIG_CMD_NAND) \
- && !defined(CFG_NAND_LEGACY))
+ && !defined(CONFIG_NAND_LEGACY))
/* No ones complement version. JFFS2 (and other things ?)
* don't use ones compliment in their CRC calculations.