fix the SHM log size

This commit is contained in:
Michael Stapelberg
2011-12-10 11:15:57 +00:00
parent d034248de0
commit f7a73f4a68
2 changed files with 2 additions and 3 deletions

View File

@ -39,7 +39,7 @@ char *errorfilename;
char *shmlogname = "";
/* Size limit for the SHM log, by default 25 MiB. Can be overwritten using the
* flag --shmlog-size. */
int shmlog_size = 25 * 1024 * 1024;
int shmlog_size = 0;
/* If enabled, logbuffer will point to a memory mapping of the i3 SHM log. */
static char *logbuffer;
/* A pointer (within logbuffer) where data will be written to next. */