aboutsummaryrefslogtreecommitdiffstats
path: root/src/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/io.c')
-rw-r--r--src/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/io.c b/src/io.c
index cd43d68..d1d2f44 100644
--- a/src/io.c
+++ b/src/io.c
@@ -1230,14 +1230,14 @@ io_log_init (void)
}
void
-io_log_print (struct io_file *log, int line, char *msg)
+io_log_print (struct io_file *log, int line, const char *msg)
{
if (log && log->fd)
fprintf (log->fd, "line %d: %s\n", line, msg);
}
void
-io_log_display (struct io_file *log, char *msg, char *pager)
+io_log_display (struct io_file *log, const char *msg, char *pager)
{
char *choices = "[y/n] ";
int ans;