projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf tools: Use correct return type for readn function
[deliverable/linux.git]
/
tools
/
perf
/
util
/
util.c
diff --git
a/tools/perf/util/util.c
b/tools/perf/util/util.c
index 28a0a89c1f739749a59c8b80aa3d3b37d8f4000f..9440481e9092a104e068788b7c6ef66584fc8af6 100644
(file)
--- a/
tools/perf/util/util.c
+++ b/
tools/perf/util/util.c
@@
-151,12
+151,12
@@
unsigned long convert_unit(unsigned long value, char *unit)
return value;
}
-
in
t readn(int fd, void *buf, size_t n)
+
ssize_
t readn(int fd, void *buf, size_t n)
{
void *buf_start = buf;
while (n) {
-
in
t ret = read(fd, buf, n);
+
ssize_
t ret = read(fd, buf, n);
if (ret <= 0)
return ret;
This page took
0.024961 seconds
and
5
git commands to generate.