From: Patrick Oppenlander <patrick.oppenlan...@gmail.com>

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

diff --git a/toys/other/blkdiscard.c b/toys/other/blkdiscard.c
index a516676e..862e4fed 100644
--- a/toys/other/blkdiscard.c
+++ b/toys/other/blkdiscard.c
@@ -44,7 +44,7 @@ void blkdiscard_main(void)
   unsigned long long ol[2];
 
   // TODO: if numeric arg was long long array could live in TT.
-  if (FLAG(o)) ol[0] = TT.o;
+  ol[0] = TT.o;
   if (FLAG(l)) ol[1] = TT.l;
   else {
     xioctl(fd, BLKGETSIZE64, ol+1);
-- 
2.28.0

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

Reply via email to