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]
/
libringbuffer
/
smp.c
diff --git
a/libringbuffer/smp.c
b/libringbuffer/smp.c
index 73804b66427f409626b532d1b1e12b01f5f124ff..8a65c40568b2483cd82c2a010c88c7c5155c4ecc 100644
(file)
--- a/
libringbuffer/smp.c
+++ b/
libringbuffer/smp.c
@@
-142,7
+142,7
@@
int get_possible_cpu_mask_from_sysfs(char *buf, size_t max_bytes)
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.02287 seconds
and
4
git commands to generate.