diff options
author | Xiao-Yong Jin <xjin@anl.gov> | 2021-01-29 05:30:08 +0000 |
---|---|---|
committer | Dan Cross <crossd@gmail.com> | 2021-01-29 06:32:41 -0500 |
commit | 20c14efad6487b0a09ecd661680321afa240bc0b (patch) | |
tree | 4996b9e92c40a19fe4032a932aa74c11318e0778 /src/cmd | |
parent | 4056d6be4d0fca6fc5e6ccfd24ff4785db9fec15 (diff) | |
download | plan9port-20c14efad6487b0a09ecd661680321afa240bc0b.tar.gz plan9port-20c14efad6487b0a09ecd661680321afa240bc0b.tar.bz2 plan9port-20c14efad6487b0a09ecd661680321afa240bc0b.zip |
xd: fix swizz8 loop counting
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/xd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/xd.c b/src/cmd/xd.c index 9f83e1cf..2cfbcfd1 100644 --- a/src/cmd/xd.c +++ b/src/cmd/xd.c @@ -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]; |