Fix a const warning.
authorMichael Adam <obnox@samba.org>
Sat, 29 Dec 2007 12:02:22 +0000 (13:02 +0100)
committerMichael Adam <obnox@samba.org>
Sat, 29 Dec 2007 12:02:22 +0000 (13:02 +0100)
Michael
(This used to be commit e276e48177f890531ee8b4024c90352f284d4608)

source3/utils/net_conf.c

index 42af82450833a9e6b9cc93b42164ce75b5a6d822..651948c07c41dae7f3d85ff20be88170d5e5be57 100644 (file)
@@ -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;