projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update version to v2.8.0
[lttng-tools.git]
/
src
/
common
/
health
/
health.c
diff --git
a/src/common/health/health.c
b/src/common/health/health.c
index d2414ae5776cbd563e0df3cd1b0d1709979dd869..2667e393002c8cbb21c22fdd70e384d90396d92d 100644
(file)
--- a/
src/common/health/health.c
+++ b/
src/common/health/health.c
@@
-16,7
+16,7
@@
* Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
* Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#define _
GNU
_SOURCE
+#define _
LGPL
_SOURCE
#include <assert.h>
#include <inttypes.h>
#include <stdio.h>
#include <assert.h>
#include <inttypes.h>
#include <stdio.h>
@@
-81,7
+81,7
@@
struct health_app *health_app_create(int nr_types)
if (!ha) {
return NULL;
}
if (!ha) {
return NULL;
}
- ha->flags = zmalloc(sizeof(*ha->flags));
+ ha->flags = zmalloc(sizeof(*ha->flags)
* nr_types
);
if (!ha->flags) {
goto error_flags;
}
if (!ha->flags) {
goto error_flags;
}
This page took
0.024157 seconds
and
4
git commands to generate.