summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fb3a07d)
raw | patch | inline | side by side (parent: fb3a07d)
author | Sebastian Harl <sh@tokkee.org> | |
Wed, 10 Oct 2007 18:36:53 +0000 (20:36 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Fri, 12 Oct 2007 16:42:30 +0000 (18:42 +0200) |
D'oh...
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/ipvs.c | patch | blob | history |
diff --git a/src/ipvs.c b/src/ipvs.c
index 3c6aa5c12ff1666f66aff4640f1aacb13ff53b8f..f2f40b452a08fb58f20feb69724d58f040627f99 100644 (file)
--- a/src/ipvs.c
+++ b/src/ipvs.c
static const char *ipvs_strerror (int err)
{
+ char errbuf[1024];
unsigned int i;
struct {
&& (table[i].err == err))
return table[i].message;
}
- return strerror (err);
+ return sstrerror (err, errbuf, sizeof (errbuf));
} /* ipvs_strerror */
static struct ip_vs_get_services *ipvs_get_services (void)