summaryrefslogtreecommitdiffstats
path: root/source/printing
diff options
context:
space:
mode:
authorVolker Lendecke <vl@sernet.de>2007-12-05 20:53:22 +0100
committerVolker Lendecke <vl@samba.org>2007-12-10 12:22:01 +0100
commit2f3c865707010bc7c463a02782dbee3dc2479da1 (patch)
tree74ba21daacb7e7d5b76c4d036240faa247ee6dc0 /source/printing
parent1f317f471af72f8bbc6c9fdd3e79a27c59e6fb6e (diff)
downloadsamba-2f3c865707010bc7c463a02782dbee3dc2479da1.tar.gz
samba-2f3c865707010bc7c463a02782dbee3dc2479da1.tar.xz
samba-2f3c865707010bc7c463a02782dbee3dc2479da1.zip
Tiny simplifications
locking.c:open_read_only was unused don't export the silly boolean flag locking_init(bool read_only)
Diffstat (limited to 'source/printing')
-rw-r--r--source/printing/printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/printing/printing.c b/source/printing/printing.c
index 1c7ad158d4a..fa6ed89eddc 100644
--- a/source/printing/printing.c
+++ b/source/printing/printing.c
@@ -1403,7 +1403,7 @@ void start_background_queue(void)
claim_connection( NULL, "smbd lpq backend",
FLAG_MSG_GENERAL|FLAG_MSG_SMBD|FLAG_MSG_PRINT_GENERAL);
- if (!locking_init(0)) {
+ if (!locking_init()) {
exit(1);
}