summaryrefslogtreecommitdiff
path: root/sys/src/libmach
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2018-09-08 22:24:36 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2018-09-08 22:24:36 +0200
commit97a2e35a0c4a408285f2e94667f6ae069bb462e8 (patch)
tree54d5f8402dba5e29d3ec363bce91edd916b50bfb /sys/src/libmach
parenta3d8481bb628ce254b43198f78a9f14617fa5bf9 (diff)
devarch: fix /dev/msr (thanks joe9, aiju)
the end condition port < offset+n could never become false when offset truncated to 32 bit signed port is negative. change the condition variables to unsigned int. msr's are not byte addressible, so advance reads by one instead of 8.
Diffstat (limited to 'sys/src/libmach')
0 files changed, 0 insertions, 0 deletions