From 82bc3a9520ae477584bcc6ff4b7e4bdd6356fd81 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 15 May 2002 23:20:15 +0000 Subject: merges from SAMBA_2_2 (This used to be commit 91f569a691be893e1a02c659a8f0753970fadbae) --- source3/utils/status.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/utils/status.c b/source3/utils/status.c index 6f4b9eb28c..7755ce9ab4 100644 --- a/source3/utils/status.c +++ b/source3/utils/status.c @@ -544,7 +544,6 @@ static int traverse_sessionid(TDB_CONTEXT *tdb, TDB_DATA kbuf, TDB_DATA dbuf, vo int main(int argc, char *argv[]) { - pstring fname; int c; static int profile_only = 0; static int new_debuglevel = -1; @@ -626,10 +625,11 @@ static int traverse_sessionid(TDB_CONTEXT *tdb, TDB_DATA kbuf, TDB_DATA dbuf, vo tdb = tdb_open_log(lock_path("connections.tdb"), 0, TDB_DEFAULT, O_RDONLY, 0); if (!tdb) { - d_printf("connections.tdb not initialised\n"); + d_printf("%s not initialised\n", lock_path("connections.tdb")); + d_printf("This is normal if an SMB client has never connected to your server.\n"); } else { if (verbose) { - d_printf("Opened status file %s\n", fname); + d_printf("Opened %s\n", lock_path("connections.tdb")); } if (brief) -- cgit