[git commit] libc: fix typo in statvfs
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Mon Jan 21 11:21:02 UTC 2013
commit: http://git.uclibc.org/uClibc/commit/?id=9591091f150e8a86c47efbea5def21fa67fffb07
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
libc/misc/statfs/internal_statvfs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libc/misc/statfs/internal_statvfs.c b/libc/misc/statfs/internal_statvfs.c
index ab02826..a715d2f 100644
--- a/libc/misc/statfs/internal_statvfs.c
+++ b/libc/misc/statfs/internal_statvfs.c
@@ -45,7 +45,7 @@
buf->__f_unused = 0;
#endif
buf->f_namemax = fsbuf.f_namelen;
- memset (buf->__f_spare, '\0', sizeof(buf.__f_spare));
+ memset (buf->__f_spare, '\0', sizeof(buf->__f_spare));
/* XXX I have no idea how to compute f_favail. Any idea??? */
buf->f_favail = buf->f_ffree;
More information about the uClibc-cvs
mailing list