[master] a0d0544d7 mgt: Spelling

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Tue Feb 1 10:00:11 UTC 2022


commit a0d0544d7afa684349939016b7515465aff29d30
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Tue Feb 1 10:59:09 2022 +0100

    mgt: Spelling

diff --git a/bin/varnishd/mgt/mgt_main.c b/bin/varnishd/mgt/mgt_main.c
index 5f54dfc27..3615d142e 100644
--- a/bin/varnishd/mgt/mgt_main.c
+++ b/bin/varnishd/mgt/mgt_main.c
@@ -729,7 +729,7 @@ main(int argc, char * const *argv)
 			VJ_master(JAIL_MASTER_FILE);
 			I_fd = open(optarg, O_RDONLY);
 			if (I_fd < 0)
-				ARGV_ERR("\tCant open %s: %s\n",
+				ARGV_ERR("\tCan't open %s: %s\n",
 				    optarg, VAS_errtxt(errno));
 			VJ_master(JAIL_MASTER_LOW);
 			break;
diff --git a/bin/varnishtest/tests/u00000.vtc b/bin/varnishtest/tests/u00000.vtc
index a7e3e1bf4..a800b8a2c 100644
--- a/bin/varnishtest/tests/u00000.vtc
+++ b/bin/varnishtest/tests/u00000.vtc
@@ -81,7 +81,7 @@ shell -err -expect {Error: -I file CLI command failed (104)} {
 	varnishd -f '' -I foo -n ${tmpdir}/v0 -a :0 -l 2m
 }
 
-shell -err -expect {Cant open} {
+shell -err -expect "Can't open non-existent" {
 	varnishd -f '' -I non-existent -n ${tmpdir}/v0 -a :0 -l '2m,"'
 }
 


More information about the varnish-commit mailing list