summaryrefslogtreecommitdiff
path: root/pfinet/io-ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/io-ops.c')
-rw-r--r--pfinet/io-ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pfinet/io-ops.c b/pfinet/io-ops.c
index 96dbec85..cc666cd6 100644
--- a/pfinet/io-ops.c
+++ b/pfinet/io-ops.c
@@ -339,7 +339,7 @@ S_io_stat (struct sock_user *user,
if (!user)
return EOPNOTSUPP;
- bzero (st, sizeof (struct stat));
+ memset (st, 0, sizeof(struct stat));
st->st_fstype = FSTYPE_SOCKET;
st->st_fsid = getpid ();