projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix: handle EINTR correctly in get_cpu_mask_from_sysfs
[lttng-ust.git]
/
src
/
common
/
smp.c
diff --git
a/src/common/smp.c
b/src/common/smp.c
index 36967ccc5df829f0160b1cd659544fa4fa65851f..10b9954a5880d29e6ce10a0dc7d4095fdfcd7e69 100644
(file)
--- a/
src/common/smp.c
+++ b/
src/common/smp.c
@@
-167,7
+167,7
@@
int get_cpu_mask_from_sysfs(char *buf, size_t max_bytes, const char *path)
total_bytes_read += bytes_read;
assert(total_bytes_read <= max_bytes);
- } while (max_bytes > total_bytes_read && bytes_read
>
0);
+ } while (max_bytes > total_bytes_read && bytes_read
!=
0);
/*
* Make sure the mask read is a null terminated string.
This page took
0.024308 seconds
and
4
git commands to generate.