From: Matthias Lisin <6209465+ml-@users.noreply.github.com> Date: Thu, 19 Dec 2024 10:30:13 +0000 (+0100) Subject: sysupdate: fix args order of formatted error X-Git-Tag: v258-rc1~1812^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1462736c7eee580b94e977c0a7fdd8fa51ccbab9;p=thirdparty%2Fsystemd.git sysupdate: fix args order of formatted error --- diff --git a/src/sysupdate/sysupdate-transfer.c b/src/sysupdate/sysupdate-transfer.c index 1143c3cf637..f0e8ad3b36c 100644 --- a/src/sysupdate/sysupdate-transfer.c +++ b/src/sysupdate/sysupdate-transfer.c @@ -596,7 +596,7 @@ int transfer_read_definition(Transfer *t, const char *path, const char **dirs, H !IN_SET(t->target.type, RESOURCE_DIRECTORY, RESOURCE_SUBVOLUME))) return log_syntax(NULL, LOG_ERR, path, 1, SYNTHETIC_ERRNO(EINVAL), "Target type '%s' is incompatible with source type '%s', refusing.", - resource_type_to_string(t->source.type), resource_type_to_string(t->target.type)); + resource_type_to_string(t->target.type), resource_type_to_string(t->source.type)); if (!t->source.path && !t->source.path_auto) return log_syntax(NULL, LOG_ERR, path, 1, SYNTHETIC_ERRNO(EINVAL),