summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-11-24 00:40:27 +0000
committerJeremy Allison <jra@samba.org>1998-11-24 00:40:27 +0000
commit51b85654e3c3b4a451ce39688769c1a5e7d75dc2 (patch)
treeee64f889b60815a5aafa036e1f3f7a89cda22fa0
parenta4cfbedf1ef5899629b4b8fc12ecf7897d089785 (diff)
downloadsamba-51b85654e3c3b4a451ce39688769c1a5e7d75dc2.tar.gz
samba-51b85654e3c3b4a451ce39688769c1a5e7d75dc2.tar.bz2
samba-51b85654e3c3b4a451ce39688769c1a5e7d75dc2.zip
Fixed oplock test path spec bug.
Jeremy. (This used to be commit 252dd8b8929adbdff9917395d4f8caad2d7882b2)
-rw-r--r--source3/smbd/oplock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c
index 96afb127aa..f61b025227 100644
--- a/source3/smbd/oplock.c
+++ b/source3/smbd/oplock.c
@@ -1048,7 +1048,7 @@ void check_kernel_oplocks(void)
set_process_capability(KERNEL_OPLOCK_CAPABILITY,True);
set_inherited_process_capability(KERNEL_OPLOCK_CAPABILITY,True);
- slprintf(tmpname,sizeof(tmpname)-1, "%/koplock.%d", lp_lockdir(), (int)getpid());
+ slprintf(tmpname,sizeof(tmpname)-1, "%s/koplock.%d", lp_lockdir(), (int)getpid());
if(pipe(pfd) != 0) {
DEBUG(0,("check_kernel_oplocks: Unable to create pipe. Error was %s\n",