diff options
Diffstat (limited to 'sftp-common.c')
-rw-r--r-- | sftp-common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sftp-common.c b/sftp-common.c index 5313b134d..31d41385b 100644 --- a/sftp-common.c +++ b/sftp-common.c | |||
@@ -24,7 +24,7 @@ | |||
24 | */ | 24 | */ |
25 | 25 | ||
26 | #include "includes.h" | 26 | #include "includes.h" |
27 | RCSID("$OpenBSD: sftp-common.c,v 1.9 2003/05/24 09:30:40 djm Exp $"); | 27 | RCSID("$OpenBSD: sftp-common.c,v 1.8 2002/10/16 14:31:48 itojun Exp $"); |
28 | 28 | ||
29 | #include "buffer.h" | 29 | #include "buffer.h" |
30 | #include "bufaux.h" | 30 | #include "bufaux.h" |
@@ -206,8 +206,8 @@ ls_file(char *name, struct stat *st, int remote) | |||
206 | tbuf[0] = '\0'; | 206 | tbuf[0] = '\0'; |
207 | ulen = MAX(strlen(user), 8); | 207 | ulen = MAX(strlen(user), 8); |
208 | glen = MAX(strlen(group), 8); | 208 | glen = MAX(strlen(group), 8); |
209 | snprintf(buf, sizeof buf, "%s %3u %-*s %-*s %8llu %s %s", mode, | 209 | snprintf(buf, sizeof buf, "%s %3d %-*s %-*s %8llu %s %s", mode, |
210 | (u_int)st->st_nlink, ulen, user, glen, group, | 210 | st->st_nlink, ulen, user, glen, group, |
211 | (unsigned long long)st->st_size, tbuf, name); | 211 | (unsigned long long)st->st_size, tbuf, name); |
212 | return xstrdup(buf); | 212 | return xstrdup(buf); |
213 | } | 213 | } |