---
 toys/other/vmstat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
From 360f5f9a04391cd36ab5523265db9b9efd657139 Mon Sep 17 00:00:00 2001
From: Elliott Hughes <e...@google.com>
Date: Tue, 6 Feb 2024 11:12:15 -0800
Subject: [PATCH] vmstat: fix buffering.

---
 toys/other/vmstat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toys/other/vmstat.c b/toys/other/vmstat.c
index 94502f1f..44ec5511 100644
--- a/toys/other/vmstat.c
+++ b/toys/other/vmstat.c
@@ -5,7 +5,7 @@
  * TODO: I have no idea how "system" category is calculated.
  * whatever we're doing isn't matching what other implementations are doing.
 
-USE_VMSTAT(NEWTOY(vmstat, ">2n", TOYFLAG_BIN))
+USE_VMSTAT(NEWTOY(vmstat, ">2n", TOYFLAG_BIN|TOYFLAG_LINEBUF))
 
 config VMSTAT
   bool "vmstat"
-- 
2.43.0.594.gd9cf4e227d-goog

_______________________________________________
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to