summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index b4a68b2058..e2639fe896 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -3118,7 +3118,7 @@ static void display_share_info_1(struct srvsvc_NetShareInfo1 *info1)
{
if (opt_long_list_entries) {
d_printf("%-12s %-8.8s %-50s\n",
- info1->name, share_type[info1->type],
+ info1->name, share_type[info1->type & ~(STYPE_TEMPORARY|STYPE_HIDDEN)],
info1->comment ? info1->comment : "");
} else {
d_printf("%s\n", info1->name);