summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-06-04 05:13:59 +0000
committerAndrew Tridgell <tridge@samba.org>2001-06-04 05:13:59 +0000
commit05fc3e578c895f632b351969d09cd00feb7599c7 (patch)
tree8dca3af624421a6f3ea664e14e5666da37aefb46 /source3/utils
parentf903ec893ad7aff832193bcd7035be3ee9c65c22 (diff)
downloadsamba-05fc3e578c895f632b351969d09cd00feb7599c7.tar.gz
samba-05fc3e578c895f632b351969d09cd00feb7599c7.tar.bz2
samba-05fc3e578c895f632b351969d09cd00feb7599c7.zip
use LDSHFLAGS not -shared in several places
(This used to be commit 8ec9c87b5d1a7dae17d5b1a30f58effaf5e69e4b)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/smbcontrol.c2
-rw-r--r--source3/utils/status.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c
index b940b4006a..843d56234b 100644
--- a/source3/utils/smbcontrol.c
+++ b/source3/utils/smbcontrol.c
@@ -130,7 +130,7 @@ static BOOL send_message(char *dest, int msg_type, void *buf, int len, BOOL dupl
TDB_CONTEXT *tdb;
BOOL ret;
- tdb = tdb_open(lock_path("connections.tdb"), 0, 0, O_RDONLY, 0);
+ tdb = tdb_open_log(lock_path("connections.tdb"), 0, 0, O_RDONLY, 0);
if (!tdb) {
fprintf(stderr,"Failed to open connections database in send_message.\n");
return False;
diff --git a/source3/utils/status.c b/source3/utils/status.c
index 55c3c1bad1..e695e7572f 100644
--- a/source3/utils/status.c
+++ b/source3/utils/status.c
@@ -310,7 +310,7 @@ static int traverse_fn1(TDB_CONTEXT *tdb, TDB_DATA kbuf, TDB_DATA dbuf, void *st
return profile_dump();
}
- tdb = tdb_open(lock_path("connections.tdb"), 0, 0, O_RDONLY, 0);
+ tdb = tdb_open_log(lock_path("connections.tdb"), 0, 0, O_RDONLY, 0);
if (!tdb) {
printf("connections.tdb not initialised\n");
if (!lp_status(-1))