summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-09-11 17:32:14 -0700
committerJeremy Allison <jra@samba.org>2008-09-11 17:32:14 -0700
commite695c1cc2b715afd713595e8daa77910d9f04138 (patch)
treee41bc7eb8ef858c121204ee1b65cc62cb7741950
parentdbd5d6b145528527a614c6207d81a6c955e57461 (diff)
downloadsamba-e695c1cc2b715afd713595e8daa77910d9f04138.tar.gz
Use the given name, not the absolute pathname, when printing out ACL info.
Make this match the non-ACL case. Jeremy.
-rw-r--r--source/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/client/client.c b/source/client/client.c
index 38da525db70..1c05c4035d1 100644
--- a/source/client/client.c
+++ b/source/client/client.c
@@ -528,7 +528,7 @@ static void display_finfo(file_info *finfo, const char *dir)
return;
}
/* print file meta date header */
- d_printf( "FILENAME:%s\n", afname);
+ d_printf( "FILENAME:%s\n", finfo->name);
d_printf( "MODE:%s\n", attrib_string(finfo->mode));
d_printf( "SIZE:%.0f\n", (double)finfo->size);
d_printf( "MTIME:%s", time_to_asc(t));