commit e6483368d017d3c9e8918314e97446127a8dc3b1
parent cd8ff6a75b779a6ad3abc7cf0369b2f8d5038dc4
Author: default <nobody@localhost>
Date: Sat, 24 Aug 2024 14:33:04 +0200
Fixed typo.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data.c b/data.c
@@ -48,7 +48,7 @@ int srv_open(const char *basedir, int auto_upgrade)
cfg_file = xs_fmt("%s/server.json", basedir);
if ((f = fopen(cfg_file, "r")) == NULL)
- error = xs_fmt("ERROR: cannot opening '%s'", cfg_file);
+ error = xs_fmt("ERROR: cannot open '%s'", cfg_file);
else {
/* read full config file */
srv_config = xs_json_load(f);