From 5cb8c15669c5ac51b5aa9e33671fef7dcc0916b5 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Sun, 7 Jan 2001 19:31:50 +0000 Subject: doc/ 2001-01-07 Marcus Brinkmann * hurd.texi (Diskfs Callbacks): Make diskfs_dirstat_size const. ext2fs/ 2001-01-07 Marcus Brinkmann * dir.c: Make diskfs_dirstat_size const. isofs/ 2001-01-07 Marcus Brinkmann * lookup.c: Make diskfs_dirstat_size const. ufs/ 2001-01-07 Marcus Brinkmann * dir.c: Make diskfs_dirstat_size const. libdiskfs/ 2001-01-07 Marcus Brinkmann * diskfs.h: Make diskfs_dirstat_size const. libdiskfs/ 2001-01-07 Marcus Brinkmann * file-statfs.c: Include . ftpfs/ 2001-01-07 Marcus Brinkmann * dir.c (ftpfs_dir_create): Fix last change (calloc invocation). 2001-01-07 Marcus Brinkmann * copy.c: Include . 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. --- ftpfs/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ftpfs/dir.c') 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) { -- cgit v1.2.3