From: Jeremy Allison Date: Tue, 24 Nov 1998 00:40:27 +0000 (+0000) Subject: Fixed oplock test path spec bug. X-Git-Tag: samba-2.2.5pre1~4984 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=252dd8b8929adbdff9917395d4f8caad2d7882b2 Fixed oplock test path spec bug. Jeremy. --- diff --git a/source/smbd/oplock.c b/source/smbd/oplock.c index 96afb127aa5..f61b025227f 100644 --- a/source/smbd/oplock.c +++ b/source/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",