summaryrefslogtreecommitdiff
path: root/src/id128
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-11-21 08:23:20 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-11-22 10:54:38 +0100
commit886cf317c4cace1874e251e54bfe5d1e01d6591a (patch)
tree5befb8cce9b07e1975783309ea1529d4fe5b80b0 /src/id128
parentbaaa35ad706419ae5aacc11d2bece5bd8b73ee42 (diff)
downloadsystemd-886cf317c4cace1874e251e54bfe5d1e01d6591a.tar.gz
coccinelle: also mark previous synthetic errnos as such
Diffstat (limited to 'src/id128')
-rw-r--r--src/id128/id128.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/id128/id128.c b/src/id128/id128.c
index 3c40dd6e5d..06049e7ba2 100644
--- a/src/id128/id128.c
+++ b/src/id128/id128.c
@@ -52,7 +52,8 @@ static int verb_invocation_id(int argc, char **argv, void *userdata) {
int r;
if (!sd_id128_is_null(arg_app))
- return log_error_errno(EINVAL, "Verb \"invocation-id\" cannot be combined with --app-specific=.");
+ return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
+ "Verb \"invocation-id\" cannot be combined with --app-specific=.");
r = sd_id128_get_invocation(&id);
if (r < 0)