mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 14:21:25 +02:00
BUILD: haproxy: fix build error when RLIMIT_AS is not set
As reported in issue #724, openbsd fails to build in haproxy.c due to a faulty comma in the middle of a warning message. This code is only compiled when RLIMIT_AS is not defined, which seems to be rare these days. This may be backported to older versions as the problem was likely introduced when strict limits were added.
This commit is contained in:
parent
42abe68f11
commit
ab8b6a45be
@ -3204,7 +3204,7 @@ int main(int argc, char **argv)
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
ha_warning("[%s.main()] Cannot fix MEM limit to %d megs.",
|
ha_warning("[%s.main()] Cannot fix MEM limit to %d megs."
|
||||||
"This will fail in >= v2.3\n",
|
"This will fail in >= v2.3\n",
|
||||||
argv[0], global.rlimit_memmax);
|
argv[0], global.rlimit_memmax);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user