summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--sftp-server.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5ad196efd..0bda0f7e6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
120000129
2 - (stevesk) sftp-server.c: use %lld vs. %qd
3
120010128 420010128
2 - (bal) Put USE_PIPES back into sco3.2v5 5 - (bal) Put USE_PIPES back into sco3.2v5
3 - (bal) OpenBSD Sync 6 - (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)
764 } 764 }
765 if (sz == 0) 765 if (sz == 0)
766 tbuf[0] = '\0'; 766 tbuf[0] = '\0';
767 snprintf(buf, sizeof buf, "%s %3d %-8.8s %-8.8s %8qd %s %s", mode, 767 snprintf(buf, sizeof buf, "%s %3d %-8.8s %-8.8s %8lld %s %s", mode,
768 st->st_nlink, user, group, (long long)st->st_size, tbuf, name); 768 st->st_nlink, user, group, (long long)st->st_size, tbuf, name);
769 return xstrdup(buf); 769 return xstrdup(buf);
770} 770}