s3: Remove a bunch of calls to procid_self()
[metze/samba-autobuild/.git] / source3 / utils / status.c
index 8bae5bc1ae56fc786ae0666f8e7dc35dd5c5b0c1..76f6167570b30a5ff1375dcf58e7fc1d10c15513 100644 (file)
@@ -386,8 +386,7 @@ static int traverse_sessionid(const char *key, struct sessionid *session,
                 * connection, usable by the db_open() calls further
                 * down.
                 */
-               msg_ctx = messaging_init(NULL, procid_self(),
-                                        event_context_init(NULL));
+               msg_ctx = messaging_init(NULL, event_context_init(NULL));
                if (msg_ctx == NULL) {
                        fprintf(stderr, "messaging_init failed\n");
                        ret = -1;