diff options
author | Wayne Davison <wayned@samba.org> | 2004-01-27 08:02:31 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2004-01-27 08:02:31 +0000 |
commit | 45e08edb0869c680ffe110bf0e5117baa5a85510 (patch) | |
tree | 26b39d679f604323ee5adfde75dade7fef2efd4f /generator.c | |
parent | 05b7bab8e1d97d300ad43accd9857d611c63a673 (diff) | |
download | rsync-45e08edb0869c680ffe110bf0e5117baa5a85510.tar.gz |
Cast getpid() to a long for output.
Diffstat (limited to 'generator.c')
-rw-r--r-- | generator.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/generator.c b/generator.c index 0a9d3f5c..3dfeebfa 100644 --- a/generator.c +++ b/generator.c @@ -530,9 +530,10 @@ void generate_files(int f, struct file_list *flist, char *local_name) int phase=0; char fbuf[MAXPATHLEN]; - if (verbose > 2) - rprintf(FINFO,"generator starting pid=%d count=%d\n", - (int)getpid(),flist->count); + if (verbose > 2) { + rprintf(FINFO, "generator starting pid=%ld count=%d\n", + (long)getpid(), flist->count); + } if (verbose >= 2) { rprintf(FINFO, |