aboutsummaryrefslogtreecommitdiff
path: root/miscutils/devfsd.c
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-02-04 08:27:57 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-02-04 08:27:57 +0000
commitf830fa0b17707691b1de3c286ae06674f194ec66 (patch)
treed51f370751b75e14ab662e14ec4a370cb4a18f32 /miscutils/devfsd.c
parent28dc375c151cf4b4b1bea8f38ea0f13ad9be7075 (diff)
downloadbusybox-w32-f830fa0b17707691b1de3c286ae06674f194ec66.tar.gz
busybox-w32-f830fa0b17707691b1de3c286ae06674f194ec66.tar.bz2
busybox-w32-f830fa0b17707691b1de3c286ae06674f194ec66.zip
Bug fix from Tito.
git-svn-id: svn://busybox.net/trunk/busybox@8395 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'miscutils/devfsd.c')
-rw-r--r--miscutils/devfsd.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c
index aa7a826b7..ada0bae33 100644
--- a/miscutils/devfsd.c
+++ b/miscutils/devfsd.c
@@ -837,10 +837,11 @@ static void service_name (const struct devfsd_notify_struct *info)
837 /* Discard lookups on "/dev/log" and "/dev/initctl" */ 837 /* Discard lookups on "/dev/log" and "/dev/initctl" */
838 if( info->type == DEVFSD_NOTIFY_LOOKUP && 838 if( info->type == DEVFSD_NOTIFY_LOOKUP &&
839 ((info->devname[0]=='l' && info->devname[1]=='o' && 839 ((info->devname[0]=='l' && info->devname[1]=='o' &&
840 info->devname[2]=='g' && !info->devname[3]) && 840 info->devname[2]=='g' && !info->devname[3]) ||
841 ( info->devname[0]=='i' && info->devname[1]=='n' && 841 ( info->devname[0]=='i' && info->devname[1]=='n' &&
842 info->devname[2]=='i' && info->devname[3]=='c' && 842 info->devname[2]=='i' && info->devname[3]=='t' &&
843 info->devname[4]=='t' && info->devname[5]=='l' && !info->devname[6]))) 843 info->devname[4]=='c' && info->devname[5]=='t' &&
844 info->devname[6]=='l' && !info->devname[7])))
844 return; 845 return;
845 for (entry = first_config; entry != NULL; entry = entry->next) 846 for (entry = first_config; entry != NULL; entry = entry->next)
846 { 847 {