This commit is contained in:
Tim Riker 2003-10-17 18:54:55 +00:00
parent 7857c03808
commit 6fe55ae939

View File

@ -830,6 +830,9 @@ static void action_execute (const struct devfsd_notify_struct *info,
char largv[MAX_ARGS + 1][STRING_LENGTH]; char largv[MAX_ARGS + 1][STRING_LENGTH];
#ifdef CONFIG_DEVFSD_DEBUG #ifdef CONFIG_DEVFSD_DEBUG
int i;
char buff[1024];
msg_logger( NO_DIE, LOG_INFO, "action_execute()\n"); msg_logger( NO_DIE, LOG_INFO, "action_execute()\n");
#endif #endif
@ -847,9 +850,6 @@ static void action_execute (const struct devfsd_notify_struct *info,
argv[count] = NULL; argv[count] = NULL;
#ifdef CONFIG_DEVFSD_DEBUG #ifdef CONFIG_DEVFSD_DEBUG
int i;
char buff[1024];
buff[0]='\0'; buff[0]='\0';
for(i=0;argv[i]!=NULL;i++) /* argv[i] < MAX_ARGS + 1 */ for(i=0;argv[i]!=NULL;i++) /* argv[i] < MAX_ARGS + 1 */
{ {