summaryrefslogtreecommitdiff
path: root/libc/misc/mntent
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/mntent')
-rw-r--r--libc/misc/mntent/mntent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/misc/mntent/mntent.c b/libc/misc/mntent/mntent.c
index c3367955c..f4220784a 100644
--- a/libc/misc/mntent/mntent.c
+++ b/libc/misc/mntent/mntent.c
@@ -27,7 +27,7 @@ libc_hidden_proto(abort)
libc_hidden_proto(fprintf)
/* Reentrant version of getmntent. */
-struct mntent *getmntent_r (FILE *filep,
+struct mntent *getmntent_r (FILE *filep,
struct mntent *mnt, char *buff, int bufsize)
{
char *cp, *ptrptr;
@@ -82,13 +82,13 @@ struct mntent *getmntent(FILE * filep)
static char *buff = NULL;
static struct mntent mnt;
__UCLIBC_MUTEX_LOCK(mylock);
-
+
if (!buff) {
buff = malloc(BUFSIZ);
if (!buff)
abort();
}
-
+
tmp = getmntent_r(filep, &mnt, buff, BUFSIZ);
__UCLIBC_MUTEX_UNLOCK(mylock);
return(tmp);