From 6fe55ae93983946b266ff18c5411d3e3ff9469b4 Mon Sep 17 00:00:00 2001 From: Tim Riker Date: Fri, 17 Oct 2003 18:54:55 +0000 Subject: old gcc --- miscutils/devfsd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'miscutils/devfsd.c') 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 */ { -- cgit v1.2.3