[BusyBox 0001267]: Rev ision 18018, ifstate warning printed with first time boot

bugs at busybox.net bugs at busybox.net
Fri Mar 9 21:08:43 UTC 2007


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1267 
====================================================================== 
Reported By:                espakman
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1267
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             03-09-2007 12:40 PST
Last Modified:              03-09-2007 13:08 PST
====================================================================== 
Summary:                    Rev ision 18018, ifstate warning printed with first
time boot
Description: 
Revision 18018 added the following code:

/* Read the previous state from the state file */
state_fp = fopen_or_warn("/var/run/ifstate", "r");

If the system is booted for the first time, no state file is present and
an ugly warning is printed.
====================================================================== 

---------------------------------------------------------------------- 
 vda - 03-09-07 13:08  
---------------------------------------------------------------------- 
Replace fopen_or_warn with plain fopen. Is this looks ok to you? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-09-07 12:40  espakman       New Issue                                    
03-09-07 12:40  espakman       Status                   new => assigned     
03-09-07 12:40  espakman       Assigned To               => BusyBox         
03-09-07 13:08  vda            Note Added: 0002224                          
======================================================================




More information about the busybox-cvs mailing list