summaryrefslogtreecommitdiff
path: root/src/home/homectl-fido2.c
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2020-10-09 14:59:44 +0200
committerFrantisek Sumsal <frantisek@sumsal.cz>2020-10-09 15:02:23 +0200
commitd7a0f1f4f9910a1a2d290e31b2ba8cfa7126fbdd (patch)
treef519b20cb0835f71bd553abeca761882cad3299b /src/home/homectl-fido2.c
parent44e66de0f25e65d5bd8b2f7f848e0fc7b98199ed (diff)
downloadsystemd-d7a0f1f4f9910a1a2d290e31b2ba8cfa7126fbdd.tar.gz
tree-wide: assorted coccinelle fixes
Diffstat (limited to 'src/home/homectl-fido2.c')
-rw-r--r--src/home/homectl-fido2.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/home/homectl-fido2.c b/src/home/homectl-fido2.c
index eb9098fda9..0019f59f0f 100644
--- a/src/home/homectl-fido2.c
+++ b/src/home/homectl-fido2.c
@@ -401,7 +401,8 @@ int identity_add_fido2_parameters(
return 0;
#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
}
@@ -467,7 +468,8 @@ finish:
fido_dev_info_free(&di, allocated);
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
}