rio: fix wloc call to sys/call

This commit is contained in:
Giacomo Tesio 2017-01-04 23:34:44 +01:00
parent e8562ff537
commit d24c2b3606

2
arch/rc/aux/rio/wloc Executable file → Normal file
View File

@ -5,6 +5,6 @@ ifs='
'
for(i in `{ls /dev/wsys}) {
echo window -r `{syscall -o read 0 buf 59 < $i/window >[2] /dev/null |
echo window -r `{sys/call -o pread 0 buf 59 -1 < $i/window >[2] /dev/null |
sed 's/............//; s/^ *//; s/ */ /g'} `{cat $i/label}
}