summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_srvsvc.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpcclient/cmd_srvsvc.c')
-rw-r--r--source3/rpcclient/cmd_srvsvc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpcclient/cmd_srvsvc.c b/source3/rpcclient/cmd_srvsvc.c
index 51c9819c49..070fb36e30 100644
--- a/source3/rpcclient/cmd_srvsvc.c
+++ b/source3/rpcclient/cmd_srvsvc.c
@@ -243,8 +243,8 @@ static void display_share_info_502(struct srvsvc_NetShareInfo502 *r)
printf("\tmax_uses:\t%d\n", r->max_users);
printf("\tnum_uses:\t%d\n", r->current_users);
- if (r->sd)
- display_sec_desc(r->sd);
+ if (r->sd_buf.sd)
+ display_sec_desc(r->sd_buf.sd);
}