summaryrefslogtreecommitdiffstats
path: root/lib/utils_disk.c
diff options
context:
space:
mode:
authorMatthias Eble <psychotrahe@users.sourceforge.net>2007-09-22 17:48:33 (GMT)
committerMatthias Eble <psychotrahe@users.sourceforge.net>2007-09-22 17:48:33 (GMT)
commitbb32ecb79c6e4d7161f0bee54e4197fca64d23d6 (patch)
treeaaa5d91b501882da1957c9199e278f2f1f21da0b /lib/utils_disk.c
parentd23b17e6567d8eb983956b36b31a383f3cc639d2 (diff)
downloadmonitoring-plugins-bb32ecb79c6e4d7161f0bee54e4197fca64d23d6.tar.gz
substituted bool/true/false with int/TRUE/FALSE (discussed on np-devel)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1787 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'lib/utils_disk.c')
-rw-r--r--lib/utils_disk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/utils_disk.c b/lib/utils_disk.c
index 3f9c8a9..9324f5f 100644
--- a/lib/utils_disk.c
+++ b/lib/utils_disk.c
@@ -181,9 +181,9 @@ np_regex_match_mount_entry (struct mount_entry* me, regex_t* re)
181{ 181{
182 if (regexec(re, me->me_devname, (size_t) 0, NULL, 0) == 0 || 182 if (regexec(re, me->me_devname, (size_t) 0, NULL, 0) == 0 ||
183 regexec(re, me->me_mountdir, (size_t) 0, NULL, 0) == 0 ) { 183 regexec(re, me->me_mountdir, (size_t) 0, NULL, 0) == 0 ) {
184 return true; 184 return TRUE;
185 } else { 185 } else {
186 return false; 186 return FALSE;
187 } 187 }
188} 188}
189 189