summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 34d1c75)
raw | patch | inline | side by side (parent: 34d1c75)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 18 Jun 2007 14:56:00 +0000 (16:56 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 18 Jun 2007 14:56:00 +0000 (16:56 +0200) |
src/ping.c | patch | blob | history |
diff --git a/src/ping.c b/src/ping.c
index 3c700668ddef5e11be1c05aff34faa88a1633737..27a65faafc36f23a14118ac61a04353acc48704f 100644 (file)
--- a/src/ping.c
+++ b/src/ping.c
number_of_hosts++;
}
- if ((number_of_hosts == 0) && (getuid != 0))
+ if ((number_of_hosts == 0) && (getuid () != 0))
{
ERROR ("ping plugin: All hosts failed. Try starting collectd as root.");
}