Misc sanity checks and documentation

This commit is contained in:
Olof hagsand 2022-04-19 09:24:40 +02:00
parent 6418e030ce
commit fa077839f0
4 changed files with 10 additions and 4 deletions

View file

@ -862,7 +862,7 @@ load_config_file(clicon_handle h,
}
/* Open and parse local file into xml */
if ((fp = fopen(filename, "r")) == NULL){
clicon_err(OE_UNIX, errno, "open(%s)", filename);
clicon_err(OE_UNIX, errno, "fopen(%s)", filename);
goto done;
}
switch (format){