summaryrefslogtreecommitdiffstats
path: root/plugins/check_swap.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-03 23:02:04 (GMT)
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-03 23:02:04 (GMT)
commit5e3fc41c6143676cf01b7aad789fc5f2cae5ce84 (patch)
treec6a4be653d48aab261ad1496f9b83f6f17c491e1 /plugins/check_swap.c
parentc6a18d714a1ee49c62eb3b53ebff41ecadf3b7c2 (diff)
downloadmonitoring-plugins-5e3fc41c6143676cf01b7aad789fc5f2cae5ce84.tar.gz
print_help and print_usage() cleanup
other misc cleanups git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@996 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_swap.c')
-rw-r--r--plugins/check_swap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/check_swap.c b/plugins/check_swap.c
index 3a3ec35..2e5f5c7 100644
--- a/plugins/check_swap.c
+++ b/plugins/check_swap.c
@@ -479,7 +479,7 @@ print_help (void)
479 479
480 printf (_(COPYRIGHT), copyright, email); 480 printf (_(COPYRIGHT), copyright, email);
481 481
482 printf (_("Check swap space on local server.\n\n")); 482 printf (_("Check swap space on local machine.\n\n"));
483 483
484 print_usage (); 484 print_usage ();
485 485
@@ -514,7 +514,7 @@ On AIX, if -a is specified, uses lsps -a, otherwise uses lsps -s.\n"));
514void 514void
515print_usage (void) 515print_usage (void)
516{ 516{
517 printf ("Usage:\n\ 517 printf ("\
518 %s [-av] -w <percent_free>%% -c <percent_free>%%\n\ 518 Usage: %s [-av] -w <percent_free>%% -c <percent_free>%%\n\
519 %s [-av] -w <bytes_free> -c <bytes_free>\n", progname, progname); 519 %s [-av] -w <bytes_free> -c <bytes_free>\n", progname, progname);
520} 520}