check_disk: reduced compiler warnings (#1326)

Oliver Skibbe notifications at github.com
Wed Oct 7 09:44:17 CEST 2015


Ah okay, didnt know that. I changed uintmax_t to long long and %ju to %llu

result @ Ubuntu 12.04 3.13.0-65-generic #105~precise1-Ubuntu SMP Tue Sep 22
13:22:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
```
./check_disk -vvv -w 10% -c 5%	-p /
calling stat on /
Thresholds(pct) for / warn: 10,000000 crit 5,000000
calling stat on /
For /, used_pct=82 free_pct=18 used_units=56842 free_units=13248
total_units=73214 used_inodes_pct=11 free_inodes_pct=89
fsp.fsu_blocksize=4096 mult=1048576
Freespace_units result=0
Freespace% result=0
Usedspace_units result=0
Usedspace_percent result=0
Usedinodes_percent result=0
Freeinodes_percent result=0
DISK OK - free space: / 13248 MB (18% inode=89%);|
/=56842MB;65892;69553;0;73214
```

-- 
Reply to this email on GitHub:
https://github.com/monitoring-plugins/monitoring-plugins/pull/1326#issuecomment-146103504
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20151007/ece1a25a/attachment.html>


More information about the Devel mailing list