From 7bf1a86e473a12882bf6f71cb4d0d416394b69d4 Mon Sep 17 00:00:00 2001 From: Zachary T Welch Date: Sun, 15 Nov 2009 04:57:12 -0800 Subject: command_handler: change to 'argc' to CMD_ARGC This patch converts all instances of 'argc' in COMMAND_HANDLER routines to use CMD_ARGC. --- src/flash/orion_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/flash/orion_nand.c') diff --git a/src/flash/orion_nand.c b/src/flash/orion_nand.c index 4235b085..69d6d966 100644 --- a/src/flash/orion_nand.c +++ b/src/flash/orion_nand.c @@ -131,7 +131,7 @@ NAND_DEVICE_COMMAND_HANDLER(orion_nand_device_command) uint32_t base; uint8_t ale, cle; - if (argc != 3) { + if (CMD_ARGC != 3) { LOG_ERROR("arguments must be: \n"); return ERROR_NAND_DEVICE_INVALID; } -- cgit v1.2.3-18-g5258