aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs/dir-readdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/dir-readdir.c')
-rw-r--r--libdiskfs/dir-readdir.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libdiskfs/dir-readdir.c b/libdiskfs/dir-readdir.c
index c66b2dce..d2f9d750 100644
--- a/libdiskfs/dir-readdir.c
+++ b/libdiskfs/dir-readdir.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1993, 1994, 1996 Free Software Foundation
+ Copyright (C) 1993,94,96,99,2002 Free Software Foundation, Inc.
This file is part of the GNU Hurd.
@@ -8,7 +8,7 @@ it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
-The GNU Hurd is distributed in the hope that it will be useful,
+The GNU Hurd is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
@@ -26,7 +26,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
kern_return_t
diskfs_S_dir_readdir (struct protid *cred,
char **data,
- u_int *datacnt,
+ size_t *datacnt,
+ boolean_t *data_dealloc,
int entry,
int nentries,
vm_size_t bufsiz,
@@ -54,8 +55,7 @@ diskfs_S_dir_readdir (struct protid *cred,
}
err = diskfs_get_directs (np, entry, nentries, data, datacnt, bufsiz, amt);
+ *data_dealloc = 1; /* XXX */
mutex_unlock (&np->lock);
return err;
}
-
-