summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7e0660f)
raw | patch | inline | side by side (parent: 7e0660f)
author | Vincent Brillault <git@lerya.net> | |
Tue, 23 Sep 2014 19:40:46 +0000 (21:40 +0200) | ||
committer | Vincent Brillault <git@lerya.net> | |
Sat, 28 Feb 2015 06:35:41 +0000 (07:35 +0100) |
src/turbostat.c | patch | blob | history |
diff --git a/src/turbostat.c b/src/turbostat.c
index 2f07a58272e7481702eba6e3500d2e950ef27ccf..276159da79ed1f0ef89e3376f0eddbad2a328d6c 100644 (file)
--- a/src/turbostat.c
+++ b/src/turbostat.c
}
static int
-turbostat_read(user_data_t * not_used)
+turbostat_read(void)
{
int ret;
DO_OR_GOTO_ERR(setup_all_buffers());
- plugin_register_complex_read(NULL, PLUGIN_NAME, turbostat_read, NULL, NULL);
+ plugin_register_read(PLUGIN_NAME, turbostat_read);
return 0;
err: