aboutsummaryrefslogtreecommitdiff
path: root/plugins/utils.c
diff options
context:
space:
mode:
authorGravatar Andreas Baumann <202930+andreasbaumann@users.noreply.github.com> 2022-10-27 22:48:18 +0200
committerGravatar GitHub <noreply@github.com> 2022-10-27 22:48:18 +0200
commiteb2dfdd5c24b87198b66397b224d6406c468a0bc (patch)
tree9d2310e709811c7f01bb8572132f49374a303df8 /plugins/utils.c
parent817ac2e5dad1ce5d0e0ea96fa7f726566251b08d (diff)
downloadmonitoring-plugins-eb2dfdd5c24b87198b66397b224d6406c468a0bc.tar.gz
fixed two PRId64 to PRIu64 in perfdata_uint64 (#1802)
Diffstat (limited to 'plugins/utils.c')
-rw-r--r--plugins/utils.c4
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,
char *data = NULL;
if (strpbrk (label, "'= "))
- xasprintf (&data, "'%s'=%" PRId64 "%s;", label, val, uom);
+ xasprintf (&data, "'%s'=%" PRIu64 "%s;", label, val, uom);
else
- xasprintf (&data, "%s=%" PRId64 "%s;", label, val, uom);
+ xasprintf (&data, "%s=%" PRIu64 "%s;", label, val, uom);
if (warnp)
xasprintf (&data, "%s%" PRIu64 ";", data, warn);