[PATCH v3 7/6 incubator] Fixup for patch 1/6

Damien Zammit <[email protected]>
Newsgroups gmane.os.hurd.bugs
Message-ID <[email protected]>
Oops, I broke patch 1.  This fixes it.

TESTED: v3 + 7/6 fixup patch mounts a smb share.

---
 smbnetfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/smbnetfs.c b/smbnetfs.c
index 13c941323..44b60ae73 100644
--- a/smbnetfs.c
+++ b/smbnetfs.c
@@ -67,7 +67,7 @@ struct netnode
 error_t
 stat64_to_stat (struct stat64 *st64, struct stat *st)
 {
-  memset (&st, 0, sizeof st);
+  memset (st, 0, sizeof *st);
 
   if (sizeof(off_t) == 4)
     {
-- 
2.51.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.