summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/smbtree.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/utils/smbtree.c b/source3/utils/smbtree.c
index 26db717668..f3d3d2ae31 100644
--- a/source3/utils/smbtree.c
+++ b/source3/utils/smbtree.c
@@ -293,7 +293,8 @@ static BOOL print_tree(struct user_auth_info *user_info)
for (sv = servers; sv; sv = sv->next) {
- printf("\t%s\n", sv->name);
+ printf("\t\\\\%-15s\t\t%s\n",
+ sv->name, sv->comment);
/* List shares */
@@ -305,7 +306,8 @@ static BOOL print_tree(struct user_auth_info *user_info)
continue;
for (sh = shares; sh; sh = sh->next) {
- printf("\t\t%s\n", sh->name);
+ printf("\t\t\\\\%s\\%-15s\t%s\n",
+ sv->name, sh->name, sh->comment);
}
}
}