diff options
Diffstat (limited to 'source4/lib/unix_privs.c')
-rw-r--r-- | source4/lib/unix_privs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/unix_privs.c b/source4/lib/unix_privs.c index c65f490aeb..a57f4359d3 100644 --- a/source4/lib/unix_privs.c +++ b/source4/lib/unix_privs.c @@ -57,7 +57,7 @@ static int privileges_destructor(void *ptr) void *root_privileges(void) { struct saved_state *s; - s = talloc_p(NULL, struct saved_state); + s = talloc(NULL, struct saved_state); if (!s) return NULL; s->uid = geteuid(); if (s->uid != 0) { |