Sfoglia il codice sorgente

libc: fix typo in statvfs

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer 12 anni fa
parent
commit
9591091f15
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      libc/misc/statfs/internal_statvfs.c

+ 1 - 1
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;