diff options
| author | Martin Pool <mbp@samba.org> | 2002-01-11 07:09:22 +0000 |
|---|---|---|
| committer | Martin Pool <mbp@samba.org> | 2002-01-11 07:09:22 +0000 |
| commit | ea1438dad8dafb5c4e55a00c5919fe619fb4f0ef (patch) | |
| tree | 7552795264853ae37bd4095e2bd49492c1ab0ae3 /tls.c | |
| parent | d2e9d069b4d4ef7ae2da612665ffe31eaa08225f (diff) | |
| download | android_external_rsync-ea1438dad8dafb5c4e55a00c5919fe619fb4f0ef.tar.gz android_external_rsync-ea1438dad8dafb5c4e55a00c5919fe619fb4f0ef.tar.bz2 android_external_rsync-ea1438dad8dafb5c4e55a00c5919fe619fb4f0ef.zip | |
Merge ChangeSet@1.12: tls now shows number of links to a file to aid in testing -H
Diffstat (limited to 'tls.c')
| -rw-r--r-- | tls.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,6 +1,6 @@ /* -*- c-file-style: "linux" -*- * - * Copyright (C) 2001 by Martin Pool <mbp@samba.org> + * Copyright (C) 2001, 2002 by Martin Pool <mbp@samba.org> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License version @@ -117,9 +117,10 @@ static void list_file (const char *fname) /* NB: need to pass size as a double because it might be be * too large for a long. */ - printf("%s %12.0f %6d.%-6d %s %s%s\n", + printf("%s %12.0f %6d.%-6d %6d %s %s%s\n", permbuf, (double) buf.st_size, buf.st_uid, buf.st_gid, + buf.st_nlink, datebuf, fname, linkbuf); } |
