diff --git a/ChangeLog b/ChangeLog index 5ad196efd..0bda0f7e6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +20000129 + - (stevesk) sftp-server.c: use %lld vs. %qd + 20010128 - (bal) Put USE_PIPES back into sco3.2v5 - (bal) OpenBSD Sync diff --git a/sftp-server.c b/sftp-server.c index 18ee73552..a3e11ce5b 100644 --- a/sftp-server.c +++ b/sftp-server.c @@ -764,7 +764,7 @@ ls_file(char *name, struct stat *st) } if (sz == 0) tbuf[0] = '\0'; - snprintf(buf, sizeof buf, "%s %3d %-8.8s %-8.8s %8qd %s %s", mode, + snprintf(buf, sizeof buf, "%s %3d %-8.8s %-8.8s %8lld %s %s", mode, st->st_nlink, user, group, (long long)st->st_size, tbuf, name); return xstrdup(buf); }