diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-03-14 20:18:46 +1100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-03-15 10:38:36 -0700 |
commit | 21f18d0205bc7aca4166e8436083c16540f95781 (patch) | |
tree | 8a878760ca4abb244123cae81fb4f5f9d19d84d7 /source4 | |
parent | 7ea026e332192ebba4c634c93fed6e02bfb7f89e (diff) | |
download | samba-21f18d0205bc7aca4166e8436083c16540f95781.tar.gz samba-21f18d0205bc7aca4166e8436083c16540f95781.tar.bz2 samba-21f18d0205bc7aca4166e8436083c16540f95781.zip |
s4-ntvfs: Cast getpid() result to unsigned int for GNU/Solaris build
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4')
-rw-r--r-- | source4/ntvfs/nbench/vfs_nbench.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/nbench/vfs_nbench.c b/source4/ntvfs/nbench/vfs_nbench.c index 74a9e43b6a..42a3f36966 100644 --- a/source4/ntvfs/nbench/vfs_nbench.c +++ b/source4/ntvfs/nbench/vfs_nbench.c @@ -126,7 +126,7 @@ static NTSTATUS nbench_connect(struct ntvfs_module_context *ntvfs, } logname = talloc_asprintf(req, "/tmp/nbenchlog%d.%u", ntvfs->depth, - getpid()); + (unsigned int)getpid()); NT_STATUS_HAVE_NO_MEMORY(logname); nprivates->log_fd = open(logname, O_WRONLY|O_CREAT|O_APPEND, 0644); talloc_free(logname); |