mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-07 19:34:56 +00:00
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:
parent
f8dcf76480
commit
20afccf6ed
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user