diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2003-06-04 22:17:04 (GMT) |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2003-06-04 22:17:04 (GMT) |
commit | 65c1c533082114b92605c8e45c930263ef913c00 (patch) | |
tree | 94cd25c5cc7eeefb5032b31e726ff99b0389d93d | |
parent | 7afe6f184b5a302624920993d31998113bf99791 (diff) | |
download | monitoring-plugins-65c1c533082114b92605c8e45c930263ef913c00.tar.gz |
Argument to asprintf in wrong order
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@533 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r-- | plugins/check_disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c index bc2d3dd..d0431d9 100644 --- a/plugins/check_disk.c +++ b/plugins/check_disk.c | |||
@@ -235,8 +235,8 @@ main (int argc, char **argv) | |||
235 | asprintf (&details, "%s\n%llu of %llu %s (%2.0f%%) free on %s (type %s mounted on %s)", | 235 | asprintf (&details, "%s\n%llu of %llu %s (%2.0f%%) free on %s (type %s mounted on %s)", |
236 | details, | 236 | details, |
237 | fsp.fsu_bavail*fsp.fsu_blocksize/mult, | 237 | fsp.fsu_bavail*fsp.fsu_blocksize/mult, |
238 | units, | ||
239 | fsp.fsu_blocks*fsp.fsu_blocksize/mult, | 238 | fsp.fsu_blocks*fsp.fsu_blocksize/mult, |
239 | units, | ||
240 | (double)fsp.fsu_bavail*100/fsp.fsu_blocks, | 240 | (double)fsp.fsu_bavail*100/fsp.fsu_blocks, |
241 | me->me_devname, | 241 | me->me_devname, |
242 | me->me_type, | 242 | me->me_type, |