Copy-and-paste mistake from the regular output.

Bug: http://b/133502489
---
 toys/posix/time.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
From a8331c4ca843aae96b76c596cef1d435c9255645 Mon Sep 17 00:00:00 2001
From: Elliott Hughes <[email protected]>
Date: Fri, 24 May 2019 12:40:24 -0700
Subject: [PATCH] time: fix -v output.

Copy-and-paste mistake from the regular output.

Bug: http://b/133502489
---
 toys/posix/time.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toys/posix/time.c b/toys/posix/time.c
index 79a98676..f51a3b95 100644
--- a/toys/posix/time.c
+++ b/toys/posix/time.c
@@ -55,7 +55,7 @@ void time_main(void)
                       "File system inputs: %ld\n"
                       "File system outputs: %ld\n"
                       "Voluntary context switches: %ld\n"
-                      "Involuntary context switches: %ld\n", r, u, s,
+                      "Involuntary context switches: %ld\n", r, s, u,
               ru.ru_maxrss, ru.ru_majflt, ru.ru_minflt, ru.ru_inblock,
               ru.ru_oublock, ru.ru_nvcsw, ru.ru_nivcsw);
     } else fprintf(stderr, "real %f\nuser %f\nsys %f\n", r, u, s);
-- 
2.22.0.rc1.257.g3120a18244-goog

_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to