]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: config: Fix warning about invalid small buffer size
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 23 Apr 2026 07:38:24 +0000 (09:38 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 23 Apr 2026 08:49:17 +0000 (10:49 +0200)
"than" must be used instead of "to".

src/cfgparse.c

index 0969fe014408b21e5849c53c55c29d2731c87a00..03c78841793d7eaf072e14f7fef125b8e8756744 100644 (file)
@@ -2327,7 +2327,7 @@ int check_config_validity()
                if (global.tune.bufsize_small == global.tune.bufsize)
                        global.tune.bufsize_small = 0;
                else if (global.tune.bufsize_small > global.tune.bufsize) {
-                       ha_warning("invalid small buffer size %d bytes which is greater to default bufsize %d bytes.\n",
+                       ha_warning("invalid small buffer size %d bytes which is greater than default bufsize %d bytes.\n",
                                   global.tune.bufsize_small, global.tune.bufsize);
                        global.tune.bufsize_small = 0;
                        err_code |= ERR_WARN;