diff options
author | David Vašek <david.vasek@nic.cz> | 2023-10-11 16:38:24 +0200 |
---|---|---|
committer | David Vašek <david.vasek@nic.cz> | 2023-10-13 12:04:22 +0200 |
commit | b50cd9c1d09438a5e86d22bb679545b367eb179e (patch) | |
tree | f34d218b8ef45312d43c2c7d7f7f8d8fe3806be6 /src/libknot/tsig.c | |
parent | keymgr: use KNOT_EFACCES error code for clearer reported error (diff) | |
download | knot-b50cd9c1d09438a5e86d22bb679545b367eb179e.tar.xz knot-b50cd9c1d09438a5e86d22bb679545b367eb179e.zip |
libknot/tsig: use KNOT_EFACCES error code for clearer reported error
Diffstat (limited to 'src/libknot/tsig.c')
-rw-r--r-- | src/libknot/tsig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libknot/tsig.c b/src/libknot/tsig.c index 35311a299..99fc5f121 100644 --- a/src/libknot/tsig.c +++ b/src/libknot/tsig.c @@ -141,7 +141,7 @@ int knot_tsig_key_init_file(knot_tsig_key_t *key, const char *filename) FILE *file = fopen(filename, "r"); if (!file) { - return KNOT_EACCES; + return KNOT_EFACCES; } char *line = NULL; |