summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fb00fee)
raw | patch | inline | side by side (parent: fb00fee)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Mon, 27 Mar 2006 08:19:01 +0000 (08:19 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Mon, 27 Mar 2006 08:19:01 +0000 (08:19 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1358 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_disk.c | patch | blob | history |
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index c7a2b8a3aec85be79770247f193f3f519cdbf105..1be5e6c3367d7d54187bb0225ebd58609701b924 100644 (file)
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
if (path_select_list) {
temp_list = path_select_list;
- stat_buf = malloc(sizeof stat_buf);
+ stat_buf = malloc(sizeof *stat_buf);
while (temp_list) {
/* Stat each entry to check that dir exists */
if (stat (temp_list->name, &stat_buf[0])) {