summaryrefslogtreecommitdiff
path: root/ftpfs/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'ftpfs/dir.c')
-rw-r--r--ftpfs/dir.c2
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)
{