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' */
|
/* count does not include the trailing '\0' */
|
||||||
while (count > 0) {
|
while (count > 0) {
|
||||||
char tmp[128];
|
char tmp[256];
|
||||||
int const curr_count = min(count, sizeof(tmp) - 1);
|
int const curr_count = min(count, sizeof(tmp) - 1);
|
||||||
memcpy(tmp, src, curr_count);
|
memcpy(tmp, src, curr_count);
|
||||||
tmp[curr_count > 0 ? curr_count : 0] = 0;
|
tmp[curr_count > 0 ? curr_count : 0] = 0;
|
||||||
|
|
Loading…
Reference in New Issue