diff options
Diffstat (limited to 'source3/utils/smbget.c')
-rw-r--r-- | source3/utils/smbget.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/smbget.c b/source3/utils/smbget.c index c062134a55..7c01f5db3a 100644 --- a/source3/utils/smbget.c +++ b/source3/utils/smbget.c @@ -487,7 +487,8 @@ static void clean_exit(void) { char bs[100]; human_readable(total_bytes, bs, sizeof(bs)); - if(!quiet)fprintf(stderr, "Downloaded %s in %lu seconds\n", bs, time(NULL) - total_start_time); + if(!quiet)fprintf(stderr, "Downloaded %s in %lu seconds\n", bs, + (unsigned long)(time(NULL) - total_start_time)); exit(0); } |