summaryrefslogtreecommitdiffstats
path: root/lib/utils_disk.c
diff options
context:
space:
mode:
authorRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-10-15 18:17:36 +0200
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-10-15 18:17:36 +0200
commit4b9d90f31c700298185aa4c7b20fe1c5e8bf19c2 (patch)
treede7e745ae5a8c81caa7c9f41be56a0747b4f106c /lib/utils_disk.c
parentb1801c10846283176622db21974fe5003602630d (diff)
downloadmonitoring-plugins-4b9d90f31c700298185aa4c7b20fe1c5e8bf19c2.tar.gz
Whitespace fixes in lib
Diffstat (limited to 'lib/utils_disk.c')
-rw-r--r--lib/utils_disk.c23
1 files changed, 11 insertions, 12 deletions
diff --git a/lib/utils_disk.c b/lib/utils_disk.c
index f5ac0b30..5e95aef6 100644
--- a/lib/utils_disk.c
+++ b/lib/utils_disk.c
@@ -1,29 +1,29 @@
1/***************************************************************************** 1/*****************************************************************************
2* 2*
3* Library for check_disk 3* Library for check_disk
4* 4*
5* License: GPL 5* License: GPL
6* Copyright (c) 1999-2007 Monitoring Plugins Development Team 6* Copyright (c) 1999-2007 Monitoring Plugins Development Team
7* 7*
8* Description: 8* Description:
9* 9*
10* This file contains utilities for check_disk. These are tested by libtap 10* This file contains utilities for check_disk. These are tested by libtap
11* 11*
12* 12*
13* This program is free software: you can redistribute it and/or modify 13* This program is free software: you can redistribute it and/or modify
14* it under the terms of the GNU General Public License as published by 14* it under the terms of the GNU General Public License as published by
15* the Free Software Foundation, either version 3 of the License, or 15* the Free Software Foundation, either version 3 of the License, or
16* (at your option) any later version. 16* (at your option) any later version.
17* 17*
18* This program is distributed in the hope that it will be useful, 18* This program is distributed in the hope that it will be useful,
19* but WITHOUT ANY WARRANTY; without even the implied warranty of 19* but WITHOUT ANY WARRANTY; without even the implied warranty of
20* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21* GNU General Public License for more details. 21* GNU General Public License for more details.
22* 22*
23* You should have received a copy of the GNU General Public License 23* You should have received a copy of the GNU General Public License
24* along with this program. If not, see <http://www.gnu.org/licenses/>. 24* along with this program. If not, see <http://www.gnu.org/licenses/>.
25* 25*
26* 26*
27*****************************************************************************/ 27*****************************************************************************/
28 28
29#include "common.h" 29#include "common.h"
@@ -98,7 +98,7 @@ np_add_parameter(struct parameter_list **list, const char *name)
98 new_path->freeinodes_percent = NULL; 98 new_path->freeinodes_percent = NULL;
99 new_path->group = NULL; 99 new_path->group = NULL;
100 new_path->dfree_pct = -1; 100 new_path->dfree_pct = -1;
101 new_path->dused_pct = -1; 101 new_path->dused_pct = -1;
102 new_path->total = 0; 102 new_path->total = 0;
103 new_path->available = 0; 103 new_path->available = 0;
104 new_path->available_to_root = 0; 104 new_path->available_to_root = 0;
@@ -279,4 +279,3 @@ np_regex_match_mount_entry (struct mount_entry* me, regex_t* re)
279 return FALSE; 279 return FALSE;
280 } 280 }
281} 281}
282