Hi,

I found wrong format string usage in 
ltp/testcases/kernel/syscalls/exit/exit02.c: returned value from
strerror is not used.


Signed-off-by: Masatake YAMATO <[EMAIL PROTECTED]>


*** exit02.c    26 Apr 2007 21:05:24 +0900      1.8
--- exit02.c    17 Jun 2008 20:36:59 +0900      
***************
*** 100,106 ****
                exno = sig = 0;
  
                if ((pid = FORK_OR_VFORK()) == -1) {
!                       tst_brkm(TBROK, cleanup, "fork failed, error no = %d",
                                 errno, strerror(errno));
                }
  
--- 100,106 ----
                exno = sig = 0;
  
                if ((pid = FORK_OR_VFORK()) == -1) {
!                       tst_brkm(TBROK, cleanup, "fork failed, error no = %d : 
%s",
                                 errno, strerror(errno));
                }
  

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to