[monitoring-plugins] check_disk: Fix printf format string

Lorenz Kästle git at monitoring-plugins.org
Thu Sep 21 12:30:12 CEST 2023


    Module: monitoring-plugins
    Branch: master
    Commit: 3e8fdf9b35ab750e3fe964ce289bbbdaffb3b800
    Author: RincewindsHat <12514511+RincewindsHat at users.noreply.github.com>
 Committer: Lorenz Kästle <lorenz.kaestle at netways.de>
      Date: Wed Sep 20 18:22:55 2023 +0200
       URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=3e8fdf9

check_disk: Fix printf format string

---

 plugins/check_disk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index 05e5502..6cb4cb2 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -1027,7 +1027,7 @@ void
 print_usage (void)
 {
   printf ("%s\n", _("Usage:"));
-  printf (" %s {-w absolute_limit |-w  percentage_limit% | -W inode_percentage_limit } {-c absolute_limit|-c percentage_limit% | -K inode_percentage_limit } {-p path | -x device}\n", progname);
+  printf (" %s {-w absolute_limit |-w  percentage_limit%% | -W inode_percentage_limit } {-c absolute_limit|-c percentage_limit%% | -K inode_percentage_limit } {-p path | -x device}\n", progname);
   printf ("[-C] [-E] [-e] [-f] [-g group ] [-k] [-l] [-M] [-m] [-R path ] [-r path ]\n");
   printf ("[-t timeout] [-u unit] [-v] [-X type] [-N type]\n");
 }



More information about the Commits mailing list