summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 69b6987)
raw | patch | inline | side by side (parent: 69b6987)
author | Florian Forster <octo@verplant.org> | |
Mon, 7 Mar 2011 08:12:06 +0000 (09:12 +0100) | ||
committer | Florian Forster <octo@verplant.org> | |
Mon, 7 Mar 2011 08:12:06 +0000 (09:12 +0100) |
… regarding a non-static format string. Thanks to Brian Edwards for
reporting this problem.
reporting this problem.
src/liboping.c | patch | blob | history |
diff --git a/src/liboping.c b/src/liboping.c
index beef4f56cd0a2e726b2d4288f5583c63476388df..83ca9c242c072cb61622ede4c0058d51c9036f69 100644 (file)
--- a/src/liboping.c
+++ b/src/liboping.c
snprintf (errmsg, PING_ERRMSG_LEN, "Unknown `ai_family': %i", ai_ptr->ai_family);
errmsg[PING_ERRMSG_LEN - 1] = '\0';
- dprintf (errmsg);
+ dprintf ("%s", errmsg);
ping_set_error (obj, "getaddrinfo", errmsg);
continue;
}