mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
nmbd/nmbd_winsserver.c: Fixed printf style warning.
script/mkproto.awk: Added SMB_BIG_UINT.
Jeremy.
(This used to be commit c22c40f0ca
)
This commit is contained in:
parent
b8b67f4fab
commit
1e17cbd2a3
@ -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 */
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user