forked from auracaster/openocd
- Replace 'if(' with 'if ('.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2357 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -104,7 +104,7 @@ static int oocd_trace_init(etm_context_t *etm_ctx)
|
||||
|
||||
oocd_trace->tty_fd = open(oocd_trace->tty, O_RDWR | O_NOCTTY | O_NONBLOCK);
|
||||
|
||||
if(oocd_trace->tty_fd < 0)
|
||||
if (oocd_trace->tty_fd < 0)
|
||||
{
|
||||
LOG_ERROR("can't open tty");
|
||||
return ERROR_ETM_CAPTURE_INIT_FAILED;
|
||||
|
||||
Reference in New Issue
Block a user