diff options
-rw-r--r-- | libexec/ftpd/ftpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index 3325276..aeeaada 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -3175,9 +3175,9 @@ logxfer(char *name, off_t size, time_t start) if (statfd >= 0 && getwd(path) != NULL) { time(&now); - snprintf(buf, sizeof(buf), "%.20s!%s!%s!%s/%s!%qd!%ld\n", + snprintf(buf, sizeof(buf), "%.20s!%s!%s!%s/%s!%jd!%ld\n", ctime(&now)+4, ident, remotehost, - path, name, (long long)size, + path, name, (intmax_t)size, (long)(now - start + (now == start))); write(statfd, buf, strlen(buf)); } |