summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-09-08 02:59:23 +0000
committerAndrew Tridgell <tridge@samba.org>2001-09-08 02:59:23 +0000
commit65c5a1c0ba2cc3dc8e45a499c42191016e658b20 (patch)
tree1bd17f1ae9a43d176983b3e1738ff296ec692822 /source3/smbd
parented8883c5ddb9c3709bf2f842ae7522f2e09110ff (diff)
downloadsamba-65c5a1c0ba2cc3dc8e45a499c42191016e658b20.tar.gz
samba-65c5a1c0ba2cc3dc8e45a499c42191016e658b20.tar.bz2
samba-65c5a1c0ba2cc3dc8e45a499c42191016e658b20.zip
convert more code to using d_printf
(This used to be commit 60d297303488ed583537ca2853828fccd6da2ade)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/oplock_linux.c3
-rw-r--r--source3/smbd/reply.c1
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/oplock_linux.c b/source3/smbd/oplock_linux.c
index 39ee3eb86b..c88441c8c6 100644
--- a/source3/smbd/oplock_linux.c
+++ b/source3/smbd/oplock_linux.c
@@ -62,7 +62,8 @@ static void signal_handler(int sig, siginfo_t *info, void *unused)
/****************************************************************************
try to gain a linux capability
-****************************************************************************/static void set_capability(unsigned capability)
+****************************************************************************/
+static void set_capability(unsigned capability)
{
#ifndef _LINUX_CAPABILITY_VERSION
#define _LINUX_CAPABILITY_VERSION 0x19980330
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 0d1d5eed7c..c2d38a1076 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -4045,7 +4045,6 @@ SMB_BIG_UINT get_lock_count( char *data, int data_offset, BOOL large_file_format
/****************************************************************************
Pathetically try and map a 64 bit lock offset into 31 bits. I hate Windows :-).
****************************************************************************/
-
static uint32 map_lock_offset(uint32 high, uint32 low)
{
unsigned int i;