summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/status.c b/source3/utils/status.c
index 7caaf3308d..58efecbce1 100644
--- a/source3/utils/status.c
+++ b/source3/utils/status.c
@@ -545,7 +545,7 @@ static int traverse_sessionid(TDB_CONTEXT *tdb, TDB_DATA kbuf, TDB_DATA dbuf, vo
{
pstring fname;
int c;
- int profile_only = 0;
+ static int profile_only = 0;
static int new_debuglevel = -1;
TDB_CONTEXT *tdb;
poptContext pc;