diff options
author | Patrick Oppenlander <patrick.oppenlander@gmail.com> | 2020-10-21 16:12:14 +1100 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2020-10-21 16:23:29 -0500 |
commit | 0030729a09896602b55571afb8be7fa9b29b730c (patch) | |
tree | 29ac69fb6631a6832ad8925a6d8df897561ac53a | |
parent | e4e6fd8b454c11a4663b6c7afacad0ed4008a0cb (diff) | |
download | toybox-0030729a09896602b55571afb8be7fa9b29b730c.tar.gz |
blkdiscard: fix uninitialised offset
-rw-r--r-- | toys/other/blkdiscard.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |