[mtd-utils] mkfs.ubifs: fix compilation without ZSTD
diff mbox series

Message ID 20190715133858.18723-1-martin@kaiser.cx
State New
Headers show
Series
  • [mtd-utils] mkfs.ubifs: fix compilation without ZSTD
Related show

Commit Message

Martin Kaiser July 15, 2019, 1:38 p.m. UTC
Fix a trivial typo to make sure that zstd.h is included only if
zstd is not disabled.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
---
 ubifs-utils/mkfs.ubifs/compr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

David Oberhollenzer July 17, 2019, 11:32 a.m. UTC | #1
Applied to mtd-utils.git master.

Thanks,

David

Patch
diff mbox series

diff --git a/ubifs-utils/mkfs.ubifs/compr.c b/ubifs-utils/mkfs.ubifs/compr.c
index 6239835..83f52ef 100644
--- a/ubifs-utils/mkfs.ubifs/compr.c
+++ b/ubifs-utils/mkfs.ubifs/compr.c
@@ -28,7 +28,7 @@ 
 #include <lzo/lzo1x.h>
 #endif
 #include <linux/types.h>
-#ifndef WITHOUT_ZSTSD
+#ifndef WITHOUT_ZSTD
 #include <zstd.h>
 #endif