summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-12-29 13:02:22 +0100
committerMichael Adam <obnox@samba.org>2007-12-29 13:02:22 +0100
commit0b7aafff116fc297a0c2fb31a440a62652fe6fc9 (patch)
treea04ca7a6d8eee7e4a71ccc012843935d51101f29 /source3/utils
parent1c03f6b6081a54f6b6e684d9a76be039fd468444 (diff)
downloadsamba-0b7aafff116fc297a0c2fb31a440a62652fe6fc9.tar.gz
samba-0b7aafff116fc297a0c2fb31a440a62652fe6fc9.tar.bz2
samba-0b7aafff116fc297a0c2fb31a440a62652fe6fc9.zip
Fix a const warning.
Michael (This used to be commit e276e48177f890531ee8b4024c90352f284d4608)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c
index 42af824508..651948c07c 100644
--- a/source3/utils/net_conf.c
+++ b/source3/utils/net_conf.c
@@ -515,7 +515,7 @@ static int net_conf_showshare(int argc, const char **argv)
int ret = -1;
WERROR werr = WERR_OK;
struct registry_key *key = NULL;
- char *sharename = NULL;
+ const char *sharename = NULL;
TALLOC_CTX *ctx;
uint32_t num_params;
uint32_t count;