summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 884bd1c)
raw | patch | inline | side by side (parent: 884bd1c)
author | Matthias Eble <psychotrahe@users.sourceforge.net> | |
Wed, 13 Jun 2007 09:43:28 +0000 (09:43 +0000) | ||
committer | Matthias Eble <psychotrahe@users.sourceforge.net> | |
Wed, 13 Jun 2007 09:43:28 +0000 (09:43 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1739 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_ide_smart.c | patch | blob | history |
index e30d89cc16c14cbb22beb6cbf3b049b58d0ef842..5dcf7a3b7fa74d813c6e0d54f196e885e426884a 100644 (file)
}
-
-void
-print_thresholds (thresholds_t * p)
-{
- threshold_t * threshold = p->thresholds;
- int i;
- printf ("\n");
- printf ("SmartRevision=%d\n", p->revision);
- for (i = 0; i < NR_ATTRIBUTES; i++) {
- if (threshold->id) {
- printf ("Id=%3d, Threshold=%3d\n", threshold->id,
- threshold->threshold); }
- ++threshold;
- }
- printf ("CheckSum=%d\n", p->checksum);
-}
-
int
smart_cmd_simple (int fd, enum SmartCommand command, __u8 val0, char show_error)
{
void
print_usage (void)
{
- printf (_("Usage:");
+ printf (_("Usage:"));
printf ("%s [-d <device>] [-i <immediate>] [-q quiet] [-1 <auto-on>]",progname);
- pritnf (" [-O <auto-off>] [-n <nagios>]\n");
+ printf (" [-O <auto-off>] [-n <nagios>]\n");
}