From 242ddf3c95fd6a4a22fdc278c485bbbcffe01ae8 Mon Sep 17 00:00:00 2001 From: deischen Date: Thu, 1 Mar 2001 04:59:01 +0000 Subject: s/fstat/_fstat/ Approved by: phantom --- lib/libc/locale/ldpart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc/locale') diff --git a/lib/libc/locale/ldpart.c b/lib/libc/locale/ldpart.c index 09ac06e..1ebbd17 100644 --- a/lib/libc/locale/ldpart.c +++ b/lib/libc/locale/ldpart.c @@ -96,7 +96,7 @@ __part_load_locale(const char *name, fd = _open(filename, O_RDONLY); if (fd < 0) goto no_locale; - if (fstat(fd, &st) != 0) + if (_fstat(fd, &st) != 0) goto bad_locale; if (st.st_size <= 0) goto bad_locale; -- cgit v1.1