From 3c84ded68a9106ac87886e173e75dd3dde33c231 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 13 Dec 2005 11:35:31 +0000 Subject: Convert internal users of chmod/*stat*, minimize change for __strsep --- libc/unistd/usershell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/unistd/usershell.c') diff --git a/libc/unistd/usershell.c b/libc/unistd/usershell.c index 2e1f75d38..143dc2630 100644 --- a/libc/unistd/usershell.c +++ b/libc/unistd/usershell.c @@ -103,7 +103,7 @@ static char ** initshells(void) if ((fp = fopen(_PATH_SHELLS, "r")) == NULL) return (char **) validsh; - if (fstat(fileno(fp), &statb) == -1) { + if (__fstat(fileno(fp), &statb) == -1) { goto cleanup; } if ((strings = malloc((unsigned)statb.st_size + 1)) == NULL) { -- cgit v1.2.3