diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | sftp-server.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,6 @@ | |||
1 | 20000129 | ||
2 | - (stevesk) sftp-server.c: use %lld vs. %qd | ||
3 | |||
1 | 20010128 | 4 | 20010128 |
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 | } |