projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change malloc to zmalloc for libust
[ust.git]
/
libust
/
tracectl.c
diff --git
a/libust/tracectl.c
b/libust/tracectl.c
index 8d57b8fe9324be657629fd3994668437fc86d1dd..e64b26f7cf85dc6ad2718d508f0e95d2cd226c8d 100644
(file)
--- a/
libust/tracectl.c
+++ b/
libust/tracectl.c
@@
-675,9
+675,9
@@
static int do_cmd_get_subbuffer(const char *recvbuf, struct ustcomm_source *src)
found = 1;
found = 1;
- bc = (struct blocked_consumer *) malloc(sizeof(struct blocked_consumer));
+ bc = (struct blocked_consumer *)
z
malloc(sizeof(struct blocked_consumer));
if(bc == NULL) {
if(bc == NULL) {
- ERR("malloc returned NULL");
+ ERR("
z
malloc returned NULL");
goto unlock_traces;
}
bc->fd_consumer = src->fd;
goto unlock_traces;
}
bc->fd_consumer = src->fd;
This page took
0.023128 seconds
and
4
git commands to generate.