file: increase minimum read buffer size to 4096 bytes
[project/rpcd.git] / file.c
diff --git a/file.c b/file.c
index b78c54f5131f8446ad32e8c69b9f10a66d05b6c7..b1adcb7c431bc55a770dea3508bd4fcbacae5adc 100644 (file)
--- a/file.c
+++ b/file.c
@@ -38,7 +38,7 @@
 #include <rpcd/plugin.h>
 
 /* limit of sys & proc files */
-#define RPC_FILE_MIN_SIZE              (128)
+#define RPC_FILE_MIN_SIZE              (4096)
 
 /* limit of regular files and command output data */
 #define RPC_FILE_MAX_SIZE              (4096 * 64)