FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/gpf/tst_pei/tst_pei.c @ 490:06ab60fec942
gsm-fw/gpf/tst_pei/tst_pei.c: use FFS_O_RDONLY when reading tracemask file
gsm-fw/finlink/Makefile: proper dependency logic for GPF libraries
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 30 Jun 2014 05:04:35 +0000 |
parents | 7228920a0834 |
children |
comparison
equal
deleted
inserted
replaced
489:2a26785fb5a2 | 490:06ab60fec942 |
---|---|
318 vsi_trcsuspend ( TST_Handle, TST_Handle, OS_NO_SUSPEND ); | 318 vsi_trcsuspend ( TST_Handle, TST_Handle, OS_NO_SUSPEND ); |
319 SuppressOK = FALSE; | 319 SuppressOK = FALSE; |
320 tst_mux_init(); | 320 tst_mux_init(); |
321 | 321 |
322 #ifdef _FF_RV_EXIST_ | 322 #ifdef _FF_RV_EXIST_ |
323 fd = ffs_open(TRACEMASKFILE, FFS_O_RDWR); | 323 fd = ffs_open(TRACEMASKFILE, FFS_O_RDONLY); |
324 if (fd < 0) | 324 if (fd < 0) |
325 { | 325 { |
326 // could not open nor create /var/dbg/tracemask warning | 326 // could not open nor create /var/dbg/tracemask warning |
327 vsi_o_ttrace(NO_TASK, TC_SYSTEM, "pei_init: no trace mask in FFS"); | 327 vsi_o_ttrace(NO_TASK, TC_SYSTEM, "pei_init: no trace mask in FFS"); |
328 } | 328 } |