about summary refs log tree commit diff stats
path: root/src/command/cmd_funcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/command/cmd_funcs.c')
-rw-r--r--src/command/cmd_funcs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index f0468cdd..93b37c30 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -6320,7 +6320,7 @@ cmd_log(ProfWin *window, const char *const command, gchar **args)
     }
 
     if (strcmp(subcmd, "where") == 0) {
-        char *logfile = get_log_file_location();
+        const char *logfile = get_log_file_location();
         cons_show("Log file: %s", logfile);
         return TRUE;
     }