summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-01-21 12:21:02 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-01-21 12:21:02 +0100
commit9591091f150e8a86c47efbea5def21fa67fffb07 (patch)
tree4b707695b7b04c6fd432ba63c3eead6866934760 /libc/misc
parentb03d5855fe7b2ef3138e51e9e1dbef13edc9b6a0 (diff)
libc: fix typo in statvfs
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/statfs/internal_statvfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/statfs/internal_statvfs.c b/libc/misc/statfs/internal_statvfs.c
index ab02826df..a715d2f58 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;