summaryrefslogtreecommitdiff
path: root/ftpfs
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2001-01-07 19:31:50 +0000
committerMarcus Brinkmann <marcus@gnu.org>2001-01-07 19:31:50 +0000
commit5cb8c15669c5ac51b5aa9e33671fef7dcc0916b5 (patch)
tree624d306c3a3ca22d419c6d3926557e72fd76f871 /ftpfs
parent1b062b32391b5ec34652853eddaa79ab9d625cc1 (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')
-rw-r--r--ftpfs/ChangeLog4
-rw-r--r--ftpfs/dir.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ftpfs/ChangeLog b/ftpfs/ChangeLog
index a339fec7..416bd9b7 100644
--- a/ftpfs/ChangeLog
+++ b/ftpfs/ChangeLog
@@ -1,3 +1,7 @@
+2001-01-07 Marcus Brinkmann <marcus@gnu.org>
+
+ * dir.c (ftpfs_dir_create): Fix last change (calloc invocation).
+
2000-12-21 Marcus Brinkmann <marcus@gnu.org>
* dir.c (ftpfs_dir_create): New macro INIT_HTABLE_LEN to
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)
{