summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2004-11-02 18:48:44 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2004-11-02 18:48:44 +0000
commitbb4641e28b702a48adbbb7548b4e1b476a9948cb (patch)
tree4c21bfceddd2c17dcd808ba1d8d4324b3f826af2
parent9372ddf0d17312e999f21aa35c13be15bf42a629 (diff)
Notes
-rw-r--r--libexec/ftpd/ftpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index 33252760f4fb..aeeaada6b760 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));
}