diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-07-23 11:23:36 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-07-23 11:23:36 +0000 |
commit | 1f020b178664857b0e107778d04fb971a58e6230 (patch) | |
tree | c1cd86593b5d354091e0fa3201c5789bec5c53ad /libc/misc/mntent/mntent.c | |
parent | f1775381f91f1250b20f1949dfd0364ddb0ee9fc (diff) |
- trim any trailing whitespace
Diffstat (limited to 'libc/misc/mntent/mntent.c')
-rw-r--r-- | libc/misc/mntent/mntent.c | 6 |
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); |