summaryrefslogtreecommitdiff
path: root/source3/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
commit1788f806e7655aa37cff22eaa6f3f424fb779274 (patch)
tree16c744459ddde80a0ec131ecb0bdcee586dfb9c6 /source3/rpc_client/cli_lsarpc.c
parentf5394078d974a938c6e619ec6f2d565c028d6cf1 (diff)
downloadsamba-1788f806e7655aa37cff22eaa6f3f424fb779274.tar.gz
samba-1788f806e7655aa37cff22eaa6f3f424fb779274.tar.bz2
samba-1788f806e7655aa37cff22eaa6f3f424fb779274.zip
Merge: const fixes.
(This used to be commit a20aba09996e470425a151271237f2d48a8302af)
Diffstat (limited to 'source3/rpc_client/cli_lsarpc.c')
-rw-r--r--source3/rpc_client/cli_lsarpc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_lsarpc.c b/source3/rpc_client/cli_lsarpc.c
index 84b5aa725a..db873236e4 100644
--- a/source3/rpc_client/cli_lsarpc.c
+++ b/source3/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;