diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2013-01-21 12:14:39 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2013-01-21 12:14:39 +0100 |
commit | b03d5855fe7b2ef3138e51e9e1dbef13edc9b6a0 (patch) | |
tree | 51d93b1c65266e6f2d081c24a02bbfa59953a6cc /libc | |
parent | 76ff037059f6d387bde9d540f7e27a2b376d7cd7 (diff) |
libc: fix typo in statvfs
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc')
-rw-r--r-- | 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 717673921..ab02826df 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(fsbuf.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; |