diff 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
line wrap: on
line diff
--- a/gsm-fw/gpf/tst_pei/tst_pei.c	Sun Jun 29 22:37:29 2014 +0000
+++ b/gsm-fw/gpf/tst_pei/tst_pei.c	Mon Jun 30 05:04:35 2014 +0000
@@ -320,7 +320,7 @@
   tst_mux_init();
 
 #ifdef _FF_RV_EXIST_
-  fd = ffs_open(TRACEMASKFILE,  FFS_O_RDWR);
+  fd = ffs_open(TRACEMASKFILE,  FFS_O_RDONLY);
   if (fd < 0)
   {
     // could not open nor create /var/dbg/tracemask warning