summaryrefslogtreecommitdiffhomepage
path: root/miscutils
diff options
context:
space:
mode:
authorTim Riker <tim@rikers.org>2003-10-17 18:54:55 +0000
committerTim Riker <tim@rikers.org>2003-10-17 18:54:55 +0000
commit6fe55ae93983946b266ff18c5411d3e3ff9469b4 (patch)
treec29262b4e1297d1aeb554a41e576169647986fe2 /miscutils
parent7857c038087a94345e768bc010134d8ff2586809 (diff)
old gcc
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/devfsd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c
index a53328fab..e6316d686 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 */
{