diff options
Diffstat (limited to 'source4/ntvfs')
-rw-r--r-- | source4/ntvfs/ntvfs_base.c | 2 | ||||
-rw-r--r-- | source4/ntvfs/posix/pvfs_notify.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/ntvfs/ntvfs_base.c b/source4/ntvfs/ntvfs_base.c index 8058181f89d..d037a0ea377 100644 --- a/source4/ntvfs/ntvfs_base.c +++ b/source4/ntvfs/ntvfs_base.c @@ -190,7 +190,7 @@ NTSTATUS ntvfs_init_connection(TALLOC_CTX *mem_ctx, struct share_config *scfg, e return NT_STATUS_INTERNAL_ERROR; } ntvfs->depth = i; - DLIST_ADD_END(ctx->modules, ntvfs, struct ntvfs_module_context *); + DLIST_ADD_END(ctx->modules, ntvfs); } if (!ctx->modules) { diff --git a/source4/ntvfs/posix/pvfs_notify.c b/source4/ntvfs/posix/pvfs_notify.c index 316353f38f8..91a151bdb9f 100644 --- a/source4/ntvfs/posix/pvfs_notify.c +++ b/source4/ntvfs/posix/pvfs_notify.c @@ -278,7 +278,7 @@ NTSTATUS pvfs_notify(struct ntvfs_module_context *ntvfs, NT_STATUS_HAVE_NO_MEMORY(pending->req); pending->info = info; - DLIST_ADD_END(f->notify_buffer->pending, pending, struct notify_pending *); + DLIST_ADD_END(f->notify_buffer->pending, pending); /* if the buffer is empty then start waiting */ if (f->notify_buffer->num_changes == 0 && |