summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2001-01-29 16:57:27 +0000
committerKevin Steves <stevesk@pobox.com>2001-01-29 16:57:27 +0000
commitb71eb58ff44f0f2d9c918dc2d17e765269d21c8c (patch)
tree077dc0bc322bedd62157caa93936041e6776f417
parent6d40c0f8067713f0a152c132a03964133b40309f (diff)
- (stevesk) sftp-server.c: use %lld vs. %qd
-rw-r--r--ChangeLog3
-rw-r--r--sftp-server.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5ad196ef..0bda0f7e 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 18ee7355..a3e11ce5 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);
}