summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/dietlibc/libshell/glob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/dietlibc/libshell/glob.c b/mdk-stage1/dietlibc/libshell/glob.c
index 3d8c6d52f..e8c9e8a79 100644
--- a/mdk-stage1/dietlibc/libshell/glob.c
+++ b/mdk-stage1/dietlibc/libshell/glob.c
@@ -181,7 +181,7 @@ int glob(const char *pattern, int flags, int errfunc(const char * epath, int eer
break;
}
}
- entpwent();
+ endpwent();
}
if (home_dir != NULL) {
i = strlen(home_dir) + strlen(pattern_); /* pessimistic (the ~ case) */