From c227f83af31d13dcefbebe0aff77ddcde992b9d2 Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Mon, 28 Oct 2002 08:20:27 +0000 Subject: [PATCH] Changed error message format. git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@228 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/src/detect.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jtag/src/detect.c b/jtag/src/detect.c index e26af4ea..1c0ce0f2 100644 --- a/jtag/src/detect.c +++ b/jtag/src/detect.c @@ -166,7 +166,7 @@ detect_parts( char *db_path ) parts *ps = parts_alloc(); if (!zeros || !ones || !id || !ps) { - printf( __FUNCTION__ ": out of memory\n" ); + printf( "%s: out of memory\n", __FUNCTION__ ); register_free( zeros ); register_free( ones ); @@ -190,7 +190,7 @@ detect_parts( char *db_path ) break; /* end of chain */ if (!register_compare( ones, id )) { - printf( __FUNCTION__ ": bad JTAG connection (TDO is 1)\n" ); + printf( "%s: bad JTAG connection (TDO is 1)\n", __FUNCTION__ ); break; }