Patch from Florian Schirmer. compile fix for debug builds

This commit is contained in:
Glenn L McGrath 2004-02-22 07:38:36 +00:00
parent d33278dea5
commit fa134cd954

View File

@ -246,7 +246,7 @@ static char get_old_ide_name (unsigned , unsigned);
static char *write_old_sd_name (char *, unsigned, unsigned, char *); static char *write_old_sd_name (char *, unsigned, unsigned, char *);
/* busybox functions */ /* busybox functions */
#ifdef CONFIG_DEVFSD_VERBOSE #if defined(CONFIG_DEVFSD_VERBOSE) || defined(CONFIG_DEBUG)
static void msg_logger(int die, int pri, const char * fmt, ... ); static void msg_logger(int die, int pri, const char * fmt, ... );
#endif #endif
static void do_ioctl(int die, int fd, int request, unsigned long event_mask_flag); static void do_ioctl(int die, int fd, int request, unsigned long event_mask_flag);
@ -303,7 +303,7 @@ const char * const bb_msg_small_buffer = "buffer too small\n";
const char * const bb_msg_variable_not_found = "variable: %s not found\n"; const char * const bb_msg_variable_not_found = "variable: %s not found\n";
#endif #endif
#ifdef CONFIG_DEVFSD_VERBOSE #if defined(CONFIG_DEVFSD_VERBOSE) || defined(CONFIG_DEBUG)
static void msg_logger(int die, int pri, const char * fmt, ... ) static void msg_logger(int die, int pri, const char * fmt, ... )
{ {
va_list ap; va_list ap;