Fixed oplock test path spec bug.
authorJeremy Allison <jra@samba.org>
Tue, 24 Nov 1998 00:40:27 +0000 (00:40 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 24 Nov 1998 00:40:27 +0000 (00:40 +0000)
Jeremy.

source/smbd/oplock.c

index 96afb127aa538e3cb6abe5b254d8e6abd1ff820f..f61b025227f45d18b46c6e79cee4c7e79a2296a0 100644 (file)
@@ -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",