summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_samr.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpcclient/cmd_samr.c')
-rw-r--r--source3/rpcclient/cmd_samr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c
index 53019dc1b2..bd150f2a35 100644
--- a/source3/rpcclient/cmd_samr.c
+++ b/source3/rpcclient/cmd_samr.c
@@ -145,19 +145,19 @@ static const char* server_role_str(uint32 server_role)
{
switch(server_role) {
case ROLE_STANDALONE:
- return strdup("ROLE_STANDALONE");
+ return SMB_STRDUP("ROLE_STANDALONE");
break;
case ROLE_DOMAIN_MEMBER:
- return strdup("ROLE_DOMAIN_MEMBER");
+ return SMB_STRDUP("ROLE_DOMAIN_MEMBER");
break;
case ROLE_DOMAIN_BDC:
- return strdup("ROLE_DOMAIN_BDC");
+ return SMB_STRDUP("ROLE_DOMAIN_BDC");
break;
case ROLE_DOMAIN_PDC:
- return strdup("ROLE_DOMAIN_PDC");
+ return SMB_STRDUP("ROLE_DOMAIN_PDC");
break;
default:
- return strdup("Unknown -- internal error?");
+ return SMB_STRDUP("Unknown -- internal error?");
break;
}
}