]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
varlink: fix error name
authorLennart Poettering <lennart@poettering.net>
Tue, 21 Jan 2025 17:34:21 +0000 (18:34 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 21 Jan 2025 22:01:31 +0000 (23:01 +0100)
The documentation and code agree on the same name, since always, but
when I put together the IDL I made a mistake and insert a "Not" that
wasn't supposed to be there.

Let's correct that.

src/shared/varlink-io.systemd.UserDatabase.c

index 3dc72c025790ca42dff3855c4e206924bb77be87..a9484484e3bee7fab6111745379e68df068d8a22 100644 (file)
@@ -32,7 +32,7 @@ static SD_VARLINK_DEFINE_METHOD_FULL(
 static SD_VARLINK_DEFINE_ERROR(NoRecordFound);
 static SD_VARLINK_DEFINE_ERROR(BadService);
 static SD_VARLINK_DEFINE_ERROR(ServiceNotAvailable);
-static SD_VARLINK_DEFINE_ERROR(ConflictingRecordNotFound);
+static SD_VARLINK_DEFINE_ERROR(ConflictingRecordFound);
 static SD_VARLINK_DEFINE_ERROR(EnumerationNotSupported);
 
 /* As per https://systemd.io/USER_GROUP_API/ */
@@ -45,5 +45,5 @@ SD_VARLINK_DEFINE_INTERFACE(
                 &vl_error_NoRecordFound,
                 &vl_error_BadService,
                 &vl_error_ServiceNotAvailable,
-                &vl_error_ConflictingRecordNotFound,
+                &vl_error_ConflictingRecordFound,
                 &vl_error_EnumerationNotSupported);