Used in the AOSP x86 host build.
---
 toys/other/stat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toys/other/stat.c b/toys/other/stat.c
index 7c2e337b..d828534c 100644
--- a/toys/other/stat.c
+++ b/toys/other/stat.c
@@ -2,7 +2,7 @@
  * Copyright 2012 <[email protected]>
  * Copyright 2013 <[email protected]>

-USE_STAT(NEWTOY(stat, "<1c:fLt", TOYFLAG_BIN))
+USE_STAT(NEWTOY(stat, "<1c:(format)fLt", TOYFLAG_BIN))

 config STAT
   bool stat
-- 
2.20.1.97.g81188d93c3-goog
From 559de7c19c5fa703899bd788c52c8016c2a2aa71 Mon Sep 17 00:00:00 2001
From: Elliott Hughes <[email protected]>
Date: Sat, 12 Jan 2019 10:33:26 -0800
Subject: [PATCH] stat: add --format synonym for -c.

Used in the AOSP x86 host build.
---
 toys/other/stat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toys/other/stat.c b/toys/other/stat.c
index 7c2e337b..d828534c 100644
--- a/toys/other/stat.c
+++ b/toys/other/stat.c
@@ -2,7 +2,7 @@
  * Copyright 2012 <[email protected]>
  * Copyright 2013 <[email protected]>
 
-USE_STAT(NEWTOY(stat, "<1c:fLt", TOYFLAG_BIN)) 
+USE_STAT(NEWTOY(stat, "<1c:(format)fLt", TOYFLAG_BIN))
 
 config STAT
   bool stat
-- 
2.20.1.97.g81188d93c3-goog

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

Reply via email to