diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2001-01-07 19:31:50 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2001-01-07 19:31:50 +0000 |
commit | 5cb8c15669c5ac51b5aa9e33671fef7dcc0916b5 (patch) | |
tree | 624d306c3a3ca22d419c6d3926557e72fd76f871 /ftpfs/dir.c | |
parent | 1b062b32391b5ec34652853eddaa79ab9d625cc1 (diff) |
doc/
2001-01-07 Marcus Brinkmann <marcus@gnu.org>
* hurd.texi (Diskfs Callbacks): Make diskfs_dirstat_size const.
ext2fs/
2001-01-07 Marcus Brinkmann <marcus@gnu.org>
* dir.c: Make diskfs_dirstat_size const.
isofs/
2001-01-07 Marcus Brinkmann <marcus@gnu.org>
* lookup.c: Make diskfs_dirstat_size const.
ufs/
2001-01-07 Marcus Brinkmann <marcus@gnu.org>
* dir.c: Make diskfs_dirstat_size const.
libdiskfs/
2001-01-07 Marcus Brinkmann <marcus@gnu.org>
* diskfs.h: Make diskfs_dirstat_size const.
libdiskfs/
2001-01-07 Marcus Brinkmann <marcus@gnu.org>
* file-statfs.c: Include <string.h>.
ftpfs/
2001-01-07 Marcus Brinkmann <marcus@gnu.org>
* dir.c (ftpfs_dir_create): Fix last change (calloc invocation).
2001-01-07 Marcus Brinkmann <marcus@gnu.org>
* copy.c: Include <mach.h>. New macro page_aligned.
(copy_write): Cast buf to vm_address_t in call to vm_write.
Dereference amount for memcpy.
(copy_read): Add len parameter to vm_read, remove redundant following
len assignment.
Diffstat (limited to 'ftpfs/dir.c')
-rw-r--r-- | ftpfs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ftpfs/dir.c b/ftpfs/dir.c index 462567f6..9e550ce8 100644 --- a/ftpfs/dir.c +++ b/ftpfs/dir.c @@ -818,7 +818,7 @@ ftpfs_dir_create (struct ftpfs *fs, struct node *node, const char *rmt_path, { struct ftpfs_dir *new = malloc (sizeof (struct ftpfs_dir)); struct ftpfs_dir_entry **htable - = calloc (INIT_HTABLE_LEN * sizeof (struct ftpfs_dir_entry *)); + = calloc (INIT_HTABLE_LEN, sizeof (struct ftpfs_dir_entry *)); if (!new || !htable) { |