diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2020-09-14 16:16:59 +0200 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2020-09-14 16:16:59 +0200 |
commit | 890ea05ac24746051d092518d0796e106b1715e3 (patch) | |
tree | fc74e2b9a930ff4a1f6278c4bccc064299a521d8 /src/home/homectl-fido2.c | |
parent | 60d7a2029a252af810371070c5f402a10bf2d76a (diff) | |
download | systemd-890ea05ac24746051d092518d0796e106b1715e3.tar.gz |
home: return SYNTHETIC_ERRNO() when appropriate
Diffstat (limited to 'src/home/homectl-fido2.c')
-rw-r--r-- | src/home/homectl-fido2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/home/homectl-fido2.c b/src/home/homectl-fido2.c index b7b2c1a3b5..0d087c79f0 100644 --- a/src/home/homectl-fido2.c +++ b/src/home/homectl-fido2.c @@ -534,6 +534,7 @@ finish: fido_dev_info_free(&di, di_size); return r; #else - return log_error_errno(EOPNOTSUPP, "FIDO2 tokens not supported on this build."); + return log_error_errno(SYNTHETIC_ERRNO(EOPNOTSUPP), + "FIDO2 tokens not supported on this build."); #endif } |