summaryrefslogtreecommitdiff
path: root/hostmux/mux.c
diff options
context:
space:
mode:
Diffstat (limited to 'hostmux/mux.c')
-rw-r--r--hostmux/mux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hostmux/mux.c b/hostmux/mux.c
index 4f03cc129..dd976c57a 100644
--- a/hostmux/mux.c
+++ b/hostmux/mux.c
@@ -126,7 +126,7 @@ netfs_get_dirents (struct iouser *cred, struct node *dir,
rwlock_reader_lock (&dir->nn->mux->names_lock);
/* Find the first entry. */
- for (first_name = dir->nn->mux->names, count = 0;
+ for (first_name = dir->nn->mux->names, count = 2;
first_name && first_entry > count;
first_name = first_name->next)
if (first_name->node)