From a57e42a386b04f27aa9c000d6425f13bb644c70c Mon Sep 17 00:00:00 2001 From: Elliott Hughes 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.39.2