summaryrefslogtreecommitdiff
path: root/libnetfs/io-stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs/io-stat.c')
-rw-r--r--libnetfs/io-stat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetfs/io-stat.c b/libnetfs/io-stat.c
index 5f086318..3826c9d9 100644
--- a/libnetfs/io-stat.c
+++ b/libnetfs/io-stat.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
This file is part of the GNU Hurd.
@@ -37,7 +37,7 @@ netfs_S_io_stat (struct protid *user, io_statbuf_t *statbuf)
err = netfs_validate_stat (node, user->user);
if (! err)
{
- bcopy (&node->nn_stat, statbuf, sizeof (struct stat));
+ memcpy (statbuf, &node->nn_stat, sizeof (struct stat));
/* Set S_IATRANS and S_IROOT bits as appropriate. */
statbuf->st_mode &= ~(S_IATRANS | S_IROOT);