diff options
author | Jeremy Allison <jra@samba.org> | 1998-09-18 00:12:15 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-09-18 00:12:15 +0000 |
commit | c22c40f0caa7d6a9e8120e6415fa728db708db3e (patch) | |
tree | 54b7719d6d13502dd3ae06baebf70f40b07e41f7 | |
parent | c512b1b91fb7f2a7a93b9033a33e06d966daadb4 (diff) | |
download | samba-c22c40f0caa7d6a9e8120e6415fa728db708db3e.tar.gz samba-c22c40f0caa7d6a9e8120e6415fa728db708db3e.tar.xz samba-c22c40f0caa7d6a9e8120e6415fa728db708db3e.zip |
nmbd/nmbd_winsserver.c: Fixed printf style warning.
script/mkproto.awk: Added SMB_BIG_UINT.
Jeremy.
-rw-r--r-- | source/include/proto.h | 1 | ||||
-rw-r--r-- | source/nmbd/nmbd_winsserver.c | 2 | ||||
-rw-r--r-- | source/script/mkproto.awk | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/source/include/proto.h b/source/include/proto.h index 8b063bcfd96..d19188f8efd 100644 --- a/source/include/proto.h +++ b/source/include/proto.h @@ -1670,6 +1670,7 @@ BOOL claim_connection(connection_struct *conn,char *name,int max_connections,BOO /*The following definitions come from smbd/dfree.c */ +SMB_BIG_UINT sys_disk_free(char *path,SMB_BIG_UINT *bsize,SMB_BIG_UINT *dfree,SMB_BIG_UINT *dsize); /*The following definitions come from smbd/dir.c */ diff --git a/source/nmbd/nmbd_winsserver.c b/source/nmbd/nmbd_winsserver.c index 72386bd55ba..1ce9160deac 100644 --- a/source/nmbd/nmbd_winsserver.c +++ b/source/nmbd/nmbd_winsserver.c @@ -1563,7 +1563,7 @@ void wins_write_database(BOOL background) } } - slprintf(fname,sizeof(fname),"%s/%s.%d", lp_lockdir(), WINS_LIST, getpid()); + slprintf(fname,sizeof(fname),"%s/%s.%d", lp_lockdir(), WINS_LIST, (unsigned int)getpid()); string_sub(fname,"//", "/"); if((fp = fopen(fnamenew,"w")) == NULL) diff --git a/source/script/mkproto.awk b/source/script/mkproto.awk index 87c23915b08..565f7c1e55c 100644 --- a/source/script/mkproto.awk +++ b/source/script/mkproto.awk @@ -80,7 +80,7 @@ END { next; } -!/^connection_struct|^pipes_struct|^file_fd_struct|^files_struct|^connection_struct|^uid_t|^gid_t|^unsigned|^mode_t|^DIR|^user|^int|^char|^uint|^struct|^BOOL|^void|^time|^smb_shm_offset_t|^shm_offset_t|^enum remote_arch_types|^FILE|^SMB_OFF_T|^size_t|^ssize_t/ { +!/^connection_struct|^pipes_struct|^file_fd_struct|^files_struct|^connection_struct|^uid_t|^gid_t|^unsigned|^mode_t|^DIR|^user|^int|^char|^uint|^struct|^BOOL|^void|^time|^smb_shm_offset_t|^shm_offset_t|^enum remote_arch_types|^FILE|^SMB_OFF_T|^size_t|^ssize_t|^SMB_BIG_UINT/ { next; } |