diff options
author | Gerald Carter <jerry@samba.org> | 2004-06-04 17:26:09 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:51:53 -0500 |
commit | 386a11f49eff2ec60d75b9966ecdc5627b259f0d (patch) | |
tree | 2cc5604ce524425236761867800bdb8c162ecf26 /source3/printing | |
parent | 596eacea722d6b66cf0a7556e20545c77ee0b8e7 (diff) | |
download | samba-386a11f49eff2ec60d75b9966ecdc5627b259f0d.tar.gz samba-386a11f49eff2ec60d75b9966ecdc5627b259f0d.tar.bz2 samba-386a11f49eff2ec60d75b9966ecdc5627b259f0d.zip |
r1011: fix bad merge (from a few months ago) and ensure that we always use tdb_open_log() instead of tdb_open_ex()
(This used to be commit e65564ab4aa1240e84b8d272510aa770cad0ed0e)
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/printing_db.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/printing_db.c b/source3/printing/printing_db.c index d402aa366f..9efb3e8ead 100644 --- a/source3/printing/printing_db.c +++ b/source3/printing/printing_db.c @@ -96,8 +96,8 @@ struct tdb_print_db *get_print_db_byname(const char *printername) done_become_root = True; } - p->tdb = tdb_open_ex(printdb_path, 5000, TDB_DEFAULT, O_RDWR|O_CREAT, - 0600, smbd_tdb_log); + p->tdb = tdb_open_log(printdb_path, 5000, TDB_DEFAULT, O_RDWR|O_CREAT, + 0600); if (done_become_root) unbecome_root(); |