Line 0
Link Here
|
|
|
1 |
--- src/logfile.cc.orig 2017-05-23 18:53:47 UTC |
2 |
+++ src/logfile.cc |
3 |
@@ -92,10 +92,10 @@ throw (error) |
4 |
|
5 |
loo.loo_fd.close_on_exec(); |
6 |
|
7 |
- log_info("Creating logfile: fd=%d; size=%d; mtime=%d; filename=%s", |
8 |
+ log_info("Creating logfile: fd=%d; size=%" PRId64 "; mtime=%" PRId64 "; filename=%s", |
9 |
(int) loo.loo_fd, |
10 |
- this->lf_stat.st_size, |
11 |
- this->lf_stat.st_mtime, |
12 |
+ (long long) this->lf_stat.st_size, |
13 |
+ (long long) this->lf_stat.st_mtime, |
14 |
filename.c_str()); |
15 |
|
16 |
this->lf_valid_filename = true; |