diff options
Diffstat (limited to 'source/lib/privileges.c')
-rw-r--r-- | source/lib/privileges.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/source/lib/privileges.c b/source/lib/privileges.c index 8b5348e1f25..e01561de06f 100644 --- a/source/lib/privileges.c +++ b/source/lib/privileges.c @@ -95,7 +95,12 @@ PRIVS privs[] = { {SE_END, "", ""} }; -typedef struct priv_sid_list { +typedef struct { + int count; + DOM_SID *list; +} SID_LIST; + +typedef struct { SE_PRIV privilege; SID_LIST sids; } PRIV_SID_LIST; @@ -492,7 +497,7 @@ static int priv_traverse_fn(TDB_CONTEXT *t, TDB_DATA key, TDB_DATA data, void *s return 0; } - add_sid_to_array( &sid, &priv->sids.list, &priv->sids.count ); + add_sid_to_array( NULL, &sid, &priv->sids.list, &priv->sids.count ); return 0; } |