summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/debug.c2
-rw-r--r--source4/lib/util.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/debug.c b/source4/lib/debug.c
index c9247f380f..4f6ba125d3 100644
--- a/source4/lib/debug.c
+++ b/source4/lib/debug.c
@@ -68,7 +68,7 @@ void do_debug(const char *format, ...)
*/
void reopen_logs(void)
{
- char *logfile = lp_logfile();
+ const char *logfile = lp_logfile();
char *fname = NULL;
int old_fd = state.fd;
diff --git a/source4/lib/util.c b/source4/lib/util.c
index 16f5e7a888..0dbc2a125d 100644
--- a/source4/lib/util.c
+++ b/source4/lib/util.c
@@ -568,7 +568,7 @@ gid_t nametogid(const char *name)
void smb_panic(const char *why)
{
- char *cmd = lp_panic_action();
+ const char *cmd = lp_panic_action();
int result;
if (cmd && *cmd) {