diff options
author | Jeremy Allison <jra@samba.org> | 1998-11-13 21:41:01 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-11-13 21:41:01 +0000 |
commit | 8fc1504ff8204dd1ca735f31c769f6dadf0f88cb (patch) | |
tree | c8f269c0f415afebc4069aee335629a08d2e0916 /source3/smbd | |
parent | e623b717502988f630a73a5e809c456b1839ebdb (diff) | |
download | samba-8fc1504ff8204dd1ca735f31c769f6dadf0f88cb.tar.gz samba-8fc1504ff8204dd1ca735f31c769f6dadf0f88cb.tar.bz2 samba-8fc1504ff8204dd1ca735f31c769f6dadf0f88cb.zip |
Makefile.in configure configure.in include/config.h.in: Changes for DGUX and UNIXWARE.
groupdb/aliasdb.c groupdb/aliasfile.c groupdb/groupfile.c: Don't use snprinf, use slprintf.
include/includes.h: Fix YP problem.
include/smb.h: Fix ZERO_STRUCTP.
lib/util_sock.c: Added strerror() in debugs.
passdb/ldap.c: Don't use snprinf, use slprintf.
rpc_client/cli_lsarpc.c rpc_client/cli_pipe.c rpc_parse/parse_sec.c rpc_server/srv_pipe.c: Don't use snprinf, use slprintf.
script/installman.sh: DGUX changes.
smbd/open.c smbd/oplock.c: Fixed gcc warnings.
web/swat.c: Changes USER to SWAT_USER.
(This used to be commit 4c2b5a00983501e5d4aad1456ba8b5ab0dfd9b4c)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/open.c | 2 | ||||
-rw-r--r-- | source3/smbd/oplock.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 670161f2d0..f9ddc969a8 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -739,7 +739,7 @@ void open_file_shared(files_struct *fsp,connection_struct *conn,char *fname,int fsp->fd_ptr = 0; DEBUG(10,("open_file_shared: fname = %s, share_mode = %x, ofun = %x, mode = %o, oplock request = %d\n", - fname, share_mode, ofun, mode, oplock_request )); + fname, share_mode, ofun, (int)mode, oplock_request )); /* this is for OS/2 EAs - try and say we don't support them */ if (strstr(fname,".+,;=[].")) diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c index 03feae3a98..89a2adb900 100644 --- a/source3/smbd/oplock.c +++ b/source3/smbd/oplock.c @@ -220,7 +220,7 @@ dev = %x, inode = %.0f\n", (unsigned int)dev, (double)inode )); /* Validate message from address (must be localhost). */ if(from.sin_addr.s_addr != htonl(INADDR_LOOPBACK)) { DEBUG(0,("receive_local_message: invalid 'from' address \ -(was %x should be 127.0.0.1\n", from.sin_addr.s_addr)); +(was %lx should be 127.0.0.1\n", (long)from.sin_addr.s_addr)); return False; } |