summaryrefslogtreecommitdiffstats
path: root/source3/printing/nt_printing.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-01-16 00:48:29 +0100
committerMichael Adam <obnox@samba.org>2009-01-16 01:02:24 +0100
commit166ffc0d0dd55e6d7f530cfb806aa21142088e26 (patch)
treeb6f82cf24f8321fa73835fc5765ecdc8b983598b /source3/printing/nt_printing.c
parent0cea990d75d957fc12c17d0944093a76cfa06d81 (diff)
downloadsamba-166ffc0d0dd55e6d7f530cfb806aa21142088e26.tar.gz
samba-166ffc0d0dd55e6d7f530cfb806aa21142088e26.tar.xz
samba-166ffc0d0dd55e6d7f530cfb806aa21142088e26.zip
s3: put printing/ under cache_dir, not lock_dir
Michael
Diffstat (limited to 'source3/printing/nt_printing.c')
-rw-r--r--source3/printing/nt_printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index ac3817b94a8..bfbc35f3d3b 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -2577,7 +2577,7 @@ uint32 del_a_printer(const char *sharename)
if (geteuid() == 0) {
if (asprintf(&printdb_path, "%s%s.tdb",
- lock_path("printing/"),
+ cache_path("printing/"),
sharename) < 0) {
return (uint32)-1;
}