summaryrefslogtreecommitdiff
path: root/miscutils/devfsd.c
diff options
context:
space:
mode:
authorGlenn L McGrath2004-02-22 07:38:36 +0000
committerGlenn L McGrath2004-02-22 07:38:36 +0000
commitfa134cd954a7912b1f6ba17557a00d120a90f927 (patch)
tree02d231ab670c02764560d81d6f7a647b617f6c9b /miscutils/devfsd.c
parentd33278dea5667e24c35a5704b38b6b96deb2b648 (diff)
downloadbusybox-fa134cd954a7912b1f6ba17557a00d120a90f927.zip
busybox-fa134cd954a7912b1f6ba17557a00d120a90f927.tar.gz
Patch from Florian Schirmer. compile fix for debug builds
Diffstat (limited to 'miscutils/devfsd.c')
-rw-r--r--miscutils/devfsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c
index ada0bae..6a249bd 100644
--- a/miscutils/devfsd.c
+++ b/miscutils/devfsd.c
@@ -246,7 +246,7 @@ static char get_old_ide_name (unsigned , unsigned);
static char *write_old_sd_name (char *, unsigned, unsigned, char *);
/* 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, ... );
#endif
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";
#endif
-#ifdef CONFIG_DEVFSD_VERBOSE
+#if defined(CONFIG_DEVFSD_VERBOSE) || defined(CONFIG_DEBUG)
static void msg_logger(int die, int pri, const char * fmt, ... )
{
va_list ap;