aboutsummaryrefslogtreecommitdiff
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
parent7857c038087a94345e768bc010134d8ff2586809 (diff)
downloadbusybox-w32-6fe55ae93983946b266ff18c5411d3e3ff9469b4.tar.gz
busybox-w32-6fe55ae93983946b266ff18c5411d3e3ff9469b4.tar.bz2
busybox-w32-6fe55ae93983946b266ff18c5411d3e3ff9469b4.zip
old gcc
-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,
830 char largv[MAX_ARGS + 1][STRING_LENGTH]; 830 char largv[MAX_ARGS + 1][STRING_LENGTH];
831 831
832#ifdef CONFIG_DEVFSD_DEBUG 832#ifdef CONFIG_DEVFSD_DEBUG
833 int i;
834 char buff[1024];
835
833 msg_logger( NO_DIE, LOG_INFO, "action_execute()\n"); 836 msg_logger( NO_DIE, LOG_INFO, "action_execute()\n");
834#endif 837#endif
835 838
@@ -847,9 +850,6 @@ static void action_execute (const struct devfsd_notify_struct *info,
847 argv[count] = NULL; 850 argv[count] = NULL;
848 851
849#ifdef CONFIG_DEVFSD_DEBUG 852#ifdef CONFIG_DEVFSD_DEBUG
850 int i;
851 char buff[1024];
852
853 buff[0]='\0'; 853 buff[0]='\0';
854 for(i=0;argv[i]!=NULL;i++) /* argv[i] < MAX_ARGS + 1 */ 854 for(i=0;argv[i]!=NULL;i++) /* argv[i] < MAX_ARGS + 1 */
855 { 855 {