summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6fa5005)
raw | patch | inline | side by side (parent: 6fa5005)
author | Florian Forster <octo@crystal.wlan.home.verplant.org> | |
Fri, 16 Jun 2006 17:04:52 +0000 (19:04 +0200) | ||
committer | Florian Forster <octo@crystal.wlan.home.verplant.org> | |
Fri, 16 Jun 2006 17:04:52 +0000 (19:04 +0200) |
src/oping.c | patch | blob | history |
diff --git a/src/oping.c b/src/oping.c
index 8bc119ebc3c7e33c3276a86bdedc203f9a41484f..63de91742b636a58d65c315403f1f2ad8c643ebe 100644 (file)
--- a/src/oping.c
+++ b/src/oping.c
if (ping_send (ping) < 0)
{
- fprintf (stderr, "ping_send failed\n");
+ fprintf (stderr, "ping_send failed: %s\n",
+ ping_get_error (ping));
return (1);
}