From 4668bd264cfe64c3e3ddd0f75cb5bf2e5e85f717 Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Wed, 28 Dec 2011 12:56:08 +0100 Subject: retire ERROR_INVALID_ARGUMENTS and replace with ERROR_COMMAND_SYNTAX_ERROR MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I6dee51e1fab1944085391f274a343cdb9014c7a4 Signed-off-by: Øyvind Harboe Reviewed-on: http://openocd.zylin.com/300 Tested-by: jenkins Reviewed-by: Øyvind Harboe Reviewed-by: Spencer Oliver --- src/pld/xilinx_bit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pld/xilinx_bit.c') diff --git a/src/pld/xilinx_bit.c b/src/pld/xilinx_bit.c index 1ae1ea8d..ea4f0ec8 100644 --- a/src/pld/xilinx_bit.c +++ b/src/pld/xilinx_bit.c @@ -82,7 +82,7 @@ int xilinx_read_bit_file(struct xilinx_bit_file *bit_file, const char *filename) int read_count; if (!filename || !bit_file) - return ERROR_INVALID_ARGUMENTS; + return ERROR_COMMAND_SYNTAX_ERROR; if (stat(filename, &input_stat) == -1) { -- cgit v1.2.3-18-g5258