Changed error message format.

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@228 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Marcel Telka 22 years ago
parent dadea18e33
commit c227f83af3

@ -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;
}

Loading…
Cancel
Save