summaryrefslogtreecommitdiffstats
path: root/source4/lib/unix_privs.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/unix_privs.c')
-rw-r--r--source4/lib/unix_privs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/unix_privs.c b/source4/lib/unix_privs.c
index c65f490aebe..a57f4359d3b 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) {