From 20afccf6ed058572ea58af815ff50489061f9cee Mon Sep 17 00:00:00 2001 From: Christian Helmuth Date: Mon, 6 Oct 2014 11:45:12 +0200 Subject: [PATCH] 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. --- repos/os/include/vfs/log_file_system.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repos/os/include/vfs/log_file_system.h b/repos/os/include/vfs/log_file_system.h index e345caea2..405a46d82 100644 --- a/repos/os/include/vfs/log_file_system.h +++ b/repos/os/include/vfs/log_file_system.h @@ -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;