Revision b755a428 hw/acpi.c
b/hw/acpi.c | ||
---|---|---|
161 | 161 |
|
162 | 162 |
/* off < length is necessary because file size can be changed |
163 | 163 |
under our foot */ |
164 |
while(s.st_size && off < length); {
|
|
164 |
while(s.st_size && off < length) { |
|
165 | 165 |
int r; |
166 | 166 |
r = read(fd, p + off, s.st_size); |
167 | 167 |
if (r > 0) { |
Also available in: Unified diff