vfs: use 256-byte buffer in log file system

128 bytes is not much for logging-output line length esp. when also
counting the color sequences of PDBG() and friends.
This commit is contained in:
Christian Helmuth 2014-10-06 11:45:12 +02:00
parent f8dcf76480
commit 20afccf6ed
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ class Vfs::Log_file_system : public Single_file_system
/* count does not include the trailing '\0' */
while (count > 0) {
char tmp[128];
char tmp[256];
int const curr_count = min(count, sizeof(tmp) - 1);
memcpy(tmp, src, curr_count);
tmp[curr_count > 0 ? curr_count : 0] = 0;