projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
intel_pmu plugin: fix some minor style issues
[collectd.git]
/
src
/
ceph.c
diff --git
a/src/ceph.c
b/src/ceph.c
index
c7fc576
..
c112af0
100644
(file)
--- a/
src/ceph.c
+++ b/
src/ceph.c
@@
-1032,7
+1032,7
@@
static void cconn_close(struct cconn *io) {
static int cconn_process_data(struct cconn *io, yajl_struct *yajl,
yajl_handle hand) {
int ret;
static int cconn_process_data(struct cconn *io, yajl_struct *yajl,
yajl_handle hand) {
int ret;
- struct values_tmp *vtmp = calloc(1, sizeof(
struct values_tmp) * 1
);
+ struct values_tmp *vtmp = calloc(1, sizeof(
*vtmp)
);
if (!vtmp) {
return -ENOMEM;
}
if (!vtmp) {
return -ENOMEM;
}