aboutsummaryrefslogtreecommitdiffstats
path: root/tls.c
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-01-11 07:09:22 +0000
committerMartin Pool <mbp@samba.org>2002-01-11 07:09:22 +0000
commitea1438dad8dafb5c4e55a00c5919fe619fb4f0ef (patch)
tree7552795264853ae37bd4095e2bd49492c1ab0ae3 /tls.c
parentd2e9d069b4d4ef7ae2da612665ffe31eaa08225f (diff)
downloadandroid_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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tls.c b/tls.c
index f57648da..44e290e3 100644
--- a/tls.c
+++ b/tls.c
@@ -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);
}