commit e648336

default  ·  2024-08-24 12:33:04 +0000 UTC
parent cd8ff6a
Fixed typo.
1 files changed,  +1, -1
M data.c
M data.c
+1, -1
1@@ -48,7 +48,7 @@ int srv_open(const char *basedir, int auto_upgrade)
2     cfg_file = xs_fmt("%s/server.json", basedir);
3 
4     if ((f = fopen(cfg_file, "r")) == NULL)
5-        error = xs_fmt("ERROR: cannot opening '%s'", cfg_file);
6+        error = xs_fmt("ERROR: cannot open '%s'", cfg_file);
7     else {
8         /* read full config file */
9         srv_config = xs_json_load(f);