aboutsummaryrefslogtreecommitdiff
path: root/miscutils/devfsd.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-07-17 21:42:59 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-07-17 21:42:59 +0000
commit49a128a1565520069737ae9602155d8627d7c84c (patch)
treeb1d76d8d1976dbd0cf6e2ef9c61976aadd464ed1 /miscutils/devfsd.c
parent150d2fa114d626761a67e529959433226793e733 (diff)
downloadbusybox-w32-49a128a1565520069737ae9602155d8627d7c84c.tar.gz
busybox-w32-49a128a1565520069737ae9602155d8627d7c84c.tar.bz2
busybox-w32-49a128a1565520069737ae9602155d8627d7c84c.zip
remove accumulated stray trailing whitespace
Diffstat (limited to 'miscutils/devfsd.c')
-rw-r--r--miscutils/devfsd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/devfsd.c b/miscutils/devfsd.c
index 1dfbadf83..49eee9be4 100644
--- a/miscutils/devfsd.c
+++ b/miscutils/devfsd.c
@@ -689,9 +689,9 @@ static void service_name(const struct devfsd_notify_struct *info)
689 msg_logger(LOG_ERR, "lost %u events", info->overrun_count); 689 msg_logger(LOG_ERR, "lost %u events", info->overrun_count);
690 690
691 /* Discard lookups on "/dev/log" and "/dev/initctl" */ 691 /* Discard lookups on "/dev/log" and "/dev/initctl" */
692 if (info->type == DEVFSD_NOTIFY_LOOKUP 692 if (info->type == DEVFSD_NOTIFY_LOOKUP
693 && ((info->devname[0] == 'l' && info->devname[1] == 'o' 693 && ((info->devname[0] == 'l' && info->devname[1] == 'o'
694 && info->devname[2] == 'g' && !info->devname[3]) 694 && info->devname[2] == 'g' && !info->devname[3])
695 || (info->devname[0] == 'i' && info->devname[1] == 'n' 695 || (info->devname[0] == 'i' && info->devname[1] == 'n'
696 && info->devname[2] == 'i' && info->devname[3] == 't' 696 && info->devname[2] == 'i' && info->devname[3] == 't'
697 && info->devname[4] == 'c' && info->devname[5] == 't' 697 && info->devname[4] == 'c' && info->devname[5] == 't'
@@ -701,7 +701,7 @@ static void service_name(const struct devfsd_notify_struct *info)
701 701
702 for (entry = first_config; entry != NULL; entry = entry->next) { 702 for (entry = first_config; entry != NULL; entry = entry->next) {
703 /* First check if action matches the type, then check if name matches */ 703 /* First check if action matches the type, then check if name matches */
704 if (info->type != entry->action.when 704 if (info->type != entry->action.when
705 || regexec(&entry->preg, info->devname, MAX_SUBEXPR, mbuf, 0) != 0) 705 || regexec(&entry->preg, info->devname, MAX_SUBEXPR, mbuf, 0) != 0)
706 continue; 706 continue;
707 for (n = 0;(n < MAX_SUBEXPR) && (mbuf[n].rm_so != -1); ++n) 707 for (n = 0;(n < MAX_SUBEXPR) && (mbuf[n].rm_so != -1); ++n)