]> git.kaiwu.me - haproxy.git/commitdiff
[BUILD] fix incorrect printf arg count with tcp_splice
authorWilly Tarreau <w@1wt.eu>
Sun, 26 Jul 2009 18:40:05 +0000 (20:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 27 Jul 2009 20:02:53 +0000 (22:02 +0200)
remove an extra arg.
(cherry picked from commit bc69d8bbcf80ab8721449636e274a691f117680f)
(cherry picked from commit 6bb8a28d28f39de47c7d52d1edb186335b547622)

src/haproxy.c

index 6c0f053f044616dc9ea5353068160b9989ab7467..7992c1cbfcb79730436c1db4a95566b21ed4fa2a 100644 (file)
@@ -953,7 +953,7 @@ int main(int argc, char **argv)
                        Alert("[%s.main()] Cannot enable tcp_splice.\n"
                              "  Make sure you have enough permissions and that the module is loadable.\n"
                              "  Alternatively, you may disable the 'tcpsplice' options in the configuration.\n"
-                             "", argv[0], global.gid);
+                             "", argv[0]);
                        protocol_unbind_all();
                        exit(1);
                }