diff options
-rw-r--r-- | source3/passdb/secrets.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/secrets.c b/source3/passdb/secrets.c index 2fab765d87..b063f07aec 100644 --- a/source3/passdb/secrets.c +++ b/source3/passdb/secrets.c @@ -44,8 +44,8 @@ static void get_rand_seed(void *userdata, int *new_seed) { *new_seed = sys_getpid(); if (db_ctx) { - dbwrap_change_int32_atomic(db_ctx, "INFO/random_seed", - new_seed, 1); + dbwrap_trans_change_int32_atomic(db_ctx, "INFO/random_seed", + new_seed, 1); } } |