瀏覽代碼

[FIX] Correction command definition

Michal Simek 17 年之前
父節點
當前提交
7aa63d8cd3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fs/romfs/romfs.c

+ 1 - 1
fs/romfs/romfs.c

@@ -26,7 +26,7 @@
 #include <malloc.h>
 #include <command.h>
 
-#if (CONFIG_COMMANDS & CFG_CMD_JFFS2)
+#if defined(CONFIG_CMD_JFFS2)
 
 #include <asm/byteorder.h>
 #include <linux/stat.h>