summaryrefslogtreecommitdiffstats
path: root/source/rpc_client/cli_lsarpc.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-02-25 23:51:56 +0000
committerTim Potter <tpot@samba.org>2003-02-25 23:51:56 +0000
commita20aba09996e470425a151271237f2d48a8302af (patch)
tree5524c76d6ebb4ed1199e688d3306186622b76a10 /source/rpc_client/cli_lsarpc.c
parent55ee43cfb8b3ffb99c50d987f07a96fe79a0fe92 (diff)
downloadsamba-a20aba09996e470425a151271237f2d48a8302af.tar.gz
samba-a20aba09996e470425a151271237f2d48a8302af.tar.xz
samba-a20aba09996e470425a151271237f2d48a8302af.zip
Merge: const fixes.
Diffstat (limited to 'source/rpc_client/cli_lsarpc.c')
-rw-r--r--source/rpc_client/cli_lsarpc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/rpc_client/cli_lsarpc.c b/source/rpc_client/cli_lsarpc.c
index 84b5aa725af..db873236e46 100644
--- a/source/rpc_client/cli_lsarpc.c
+++ b/source/rpc_client/cli_lsarpc.c
@@ -805,7 +805,8 @@ NTSTATUS cli_lsa_enum_privilege(struct cli_state *cli, TALLOC_CTX *mem_ctx,
/** Get privilege name */
NTSTATUS cli_lsa_get_dispname(struct cli_state *cli, TALLOC_CTX *mem_ctx,
- POLICY_HND *pol, char *name, uint16 lang_id, uint16 lang_id_sys,
+ POLICY_HND *pol, const char *name,
+ uint16 lang_id, uint16 lang_id_sys,
fstring description, uint16 *lang_id_desc)
{
prs_struct qbuf, rbuf;
@@ -1050,7 +1051,7 @@ NTSTATUS cli_lsa_enum_privsaccount(struct cli_state *cli, TALLOC_CTX *mem_ctx,
/** Get a privilege value given its name */
NTSTATUS cli_lsa_lookupprivvalue(struct cli_state *cli, TALLOC_CTX *mem_ctx,
- POLICY_HND *pol, char *name, LUID *luid)
+ POLICY_HND *pol, const char *name, LUID *luid)
{
prs_struct qbuf, rbuf;
LSA_Q_LOOKUPPRIVVALUE q;