change log files prefix tmux- to tmate-

This commit is contained in:
Nicolas Viennot 2015-12-23 05:57:43 -05:00
parent 9b2778c439
commit 834fbfed0a

2
log.c
View File

@ -65,7 +65,7 @@ log_open(const char *name)
if (log_file != NULL)
fclose(log_file);
xasprintf(&path, "tmux-%s-%ld.log", name, (long)getpid());
xasprintf(&path, "tmate-%s-%ld.log", name, (long)getpid());
log_file = fopen(path, "w");
free(path);
if (log_file == NULL)