diff options
| author | Kristian Schuster <116557017+KriSchu@users.noreply.github.com> | 2023-02-19 23:49:18 +0100 | 
|---|---|---|
| committer | Kristian Schuster <116557017+KriSchu@users.noreply.github.com> | 2023-02-19 23:49:18 +0100 | 
| commit | a0d42777217296c0a7bdb1e1be8d8f6de1b24dd7 (patch) | |
| tree | 8effe94c57b2f9796ba36090b07551baa8f1e1cb /plugins/utils.c | |
| parent | ca3d59cd6918c9e2739e783b721d4c1122640fd3 (diff) | |
| parent | c07206f2ccc2356aa74bc6813a94c2190017d44e (diff) | |
| download | monitoring-plugins-a0d4277.tar.gz | |
Merge remote-tracking branch 'origin/master' into feature_check_disk_add_ignore_missing_option
Diffstat (limited to 'plugins/utils.c')
| -rw-r--r-- | plugins/utils.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/plugins/utils.c b/plugins/utils.c index f75cf03b..b4214c61 100644 --- a/plugins/utils.c +++ b/plugins/utils.c | |||
| @@ -615,9 +615,9 @@ char *perfdata_uint64 (const char *label, | |||
| 615 | char *data = NULL; | 615 | char *data = NULL; | 
| 616 | 616 | ||
| 617 | if (strpbrk (label, "'= ")) | 617 | if (strpbrk (label, "'= ")) | 
| 618 | xasprintf (&data, "'%s'=%" PRId64 "%s;", label, val, uom); | 618 | xasprintf (&data, "'%s'=%" PRIu64 "%s;", label, val, uom); | 
| 619 | else | 619 | else | 
| 620 | xasprintf (&data, "%s=%" PRId64 "%s;", label, val, uom); | 620 | xasprintf (&data, "%s=%" PRIu64 "%s;", label, val, uom); | 
| 621 | 621 | ||
| 622 | if (warnp) | 622 | if (warnp) | 
| 623 | xasprintf (&data, "%s%" PRIu64 ";", data, warn); | 623 | xasprintf (&data, "%s%" PRIu64 ";", data, warn); | 
