txd: fix swizz8 loop counting - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 20c14efad6487b0a09ecd661680321afa240bc0b
DIR parent 4056d6be4d0fca6fc5e6ccfd24ff4785db9fec15
HTML Author: Xiao-Yong Jin <xjin@anl.gov>
Date: Fri, 29 Jan 2021 05:30:08 +0000
xd: fix swizz8 loop counting
Diffstat:
M src/cmd/xd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/src/cmd/xd.c b/src/cmd/xd.c
t@@ -327,7 +327,7 @@ swizz8(void)
*q++ = *p++;
p = data;
q = swdata;
- for(i=0; i<8; i++){
+ for(i=0; i<2; i++){
p[0] = q[7];
p[1] = q[6];
p[2] = q[5];