Skip to content

Commit

Permalink
disk plugin: Build disk_submit_single on Linux only.
Browse files Browse the repository at this point in the history
  • Loading branch information
octo committed Jan 22, 2024
1 parent f85f241 commit 0fcb7a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/disk.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ static int disk_shutdown(void) {
return 0;
} /* int disk_shutdown */

#if KERNEL_LINUX
static void disk_submit_single(const char *plugin_instance, const char *type,
derive_t value) {
value_list_t vl = VALUE_LIST_INIT;
Expand All @@ -322,6 +323,7 @@ static void disk_submit_single(const char *plugin_instance, const char *type,

plugin_dispatch_values(&vl);
} /* void disk_submit_single */
#endif

static void disk_submit(const char *plugin_instance, const char *type,
derive_t read, derive_t write) {
Expand Down

0 comments on commit 0fcb7a7

Please sign in to comment.