summaryrefslogtreecommitdiff
path: root/miscutils/devfsd.c
diff options
context:
space:
mode:
authorTim Riker2003-10-17 18:54:55 +0000
committerTim Riker2003-10-17 18:54:55 +0000
commit6fe55ae93983946b266ff18c5411d3e3ff9469b4 (patch)
treec29262b4e1297d1aeb554a41e576169647986fe2 /miscutils/devfsd.c
parent7857c038087a94345e768bc010134d8ff2586809 (diff)
downloadbusybox-6fe55ae93983946b266ff18c5411d3e3ff9469b4.zip
busybox-6fe55ae93983946b266ff18c5411d3e3ff9469b4.tar.gz
old gcc
Diffstat (limited to 'miscutils/devfsd.c')
-rw-r--r--miscutils/devfsd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c
index a53328f..e6316d6 100644
--- a/miscutils/devfsd.c
+++ b/miscutils/devfsd.c
@@ -830,6 +830,9 @@ static void action_execute (const struct devfsd_notify_struct *info,
char largv[MAX_ARGS + 1][STRING_LENGTH];
#ifdef CONFIG_DEVFSD_DEBUG
+ int i;
+ char buff[1024];
+
msg_logger( NO_DIE, LOG_INFO, "action_execute()\n");
#endif
@@ -847,9 +850,6 @@ static void action_execute (const struct devfsd_notify_struct *info,
argv[count] = NULL;
#ifdef CONFIG_DEVFSD_DEBUG
- int i;
- char buff[1024];
-
buff[0]='\0';
for(i=0;argv[i]!=NULL;i++) /* argv[i] < MAX_ARGS + 1 */
{