diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-06-04 05:13:59 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-06-04 05:13:59 +0000 |
commit | 05fc3e578c895f632b351969d09cd00feb7599c7 (patch) | |
tree | 8dca3af624421a6f3ea664e14e5666da37aefb46 /source3/printing | |
parent | f903ec893ad7aff832193bcd7035be3ee9c65c22 (diff) | |
download | samba-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/printing')
-rw-r--r-- | source3/printing/nt_printing.c | 2 | ||||
-rw-r--r-- | source3/printing/printing.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index a0031ae35a..11d0cfbdd5 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -180,7 +180,7 @@ BOOL nt_printing_init(void) char *vstring = "INFO/version"; if (tdb && local_pid == sys_getpid()) return True; - tdb = tdb_open(lock_path("ntdrivers.tdb"), 0, 0, O_RDWR|O_CREAT, 0600); + tdb = tdb_open_log(lock_path("ntdrivers.tdb"), 0, 0, O_RDWR|O_CREAT, 0600); if (!tdb) { DEBUG(0,("Failed to open nt drivers database %s (%s)\n", lock_path("ntdrivers.tdb"), strerror(errno) )); diff --git a/source3/printing/printing.c b/source3/printing/printing.c index d98c7c4d4c..5fd2fc5680 100644 --- a/source3/printing/printing.c +++ b/source3/printing/printing.c @@ -55,7 +55,7 @@ BOOL print_backend_init(void) char *sversion = "INFO/version"; if (tdb && local_pid == sys_getpid()) return True; - tdb = tdb_open(lock_path("printing.tdb"), 0, 0, O_RDWR|O_CREAT, 0600); + tdb = tdb_open_log(lock_path("printing.tdb"), 0, 0, O_RDWR|O_CREAT, 0600); if (!tdb) { DEBUG(0,("print_backend_init: Failed to open printing backend database. Error = [%s]\n", tdb_errorstr(tdb))); |