summaryrefslogtreecommitdiffhomepage
path: root/src/object
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-11 15:05:35 -0400
committermidipix <writeonce@midipix.org>2016-05-14 07:18:25 -0400
commit1219beec442e63d47eb5bfb3b3bd7a7818b657c7 (patch)
tree75f4132b7fc19972d0a047148207d09a379c10a6 /src/object
parentc713d8d019f7b0f9ed4a60912f440aca991d43c1 (diff)
downloadntapi-1219beec442e63d47eb5bfb3b3bd7a7818b657c7.tar.bz2
ntapi-1219beec442e63d47eb5bfb3b3bd7a7818b657c7.tar.xz
code maintenance: properly initialize struct entities.
Diffstat (limited to 'src/object')
-rw-r--r--src/object/ntapi_tt_keyed_object_directory.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/object/ntapi_tt_keyed_object_directory.c b/src/object/ntapi_tt_keyed_object_directory.c
index 9520607..311e051 100644
--- a/src/object/ntapi_tt_keyed_object_directory.c
+++ b/src/object/ntapi_tt_keyed_object_directory.c
@@ -12,7 +12,11 @@
typedef ntapi_zw_open_directory_object objdir_open_fn;
-static nt_keyed_objdir_name __template_name = {__NT_BASED_NAMED_OBJECTS};
+static nt_keyed_objdir_name __template_name = {__NT_BASED_NAMED_OBJECTS,
+ 0,
+ {0,0,0,0,0,0},
+ {0,{0},0},
+ {0}};
static int32_t __stdcall __tt_create_keyed_object_directory(
__out void ** hdir,