]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
shared: fix comment typos in Udev and AskPassword Varlink IDL
authornoxiouz <atiurin@proton.me>
Fri, 27 Feb 2026 02:33:22 +0000 (02:33 +0000)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 27 Feb 2026 07:49:21 +0000 (08:49 +0100)
src/shared/varlink-io.systemd.AskPassword.c
src/shared/varlink-io.systemd.Udev.c

index 86e0a803c869e6e3a9de04455d031352ebcb3582..96aa475774284944a9d396f836a6713e6d2f3cac 100644 (file)
@@ -25,7 +25,7 @@ static SD_VARLINK_DEFINE_METHOD(
                 SD_VARLINK_FIELD_COMMENT("Timeout in µs (relative, CLOCK_MONOTONIC; set to zero to only check cache and not query interactively; set to UINT64_MAX to disable relative timeout; if not set defaults to 90s)"),
                 SD_VARLINK_DEFINE_INPUT(timeoutUSec, SD_VARLINK_INT, SD_VARLINK_NULLABLE),
                 SD_VARLINK_FIELD_COMMENT("Timeout in µs (absolute, CLOCK_MONOTONIC; if both timeoutUSec and untilUSec are specified the earlier of the two is used; "
-                                         "set to zero to only check cache and not query interactively; leave unset or set to UINT64_NAX to disable absolute timeout)"),
+                                         "set to zero to only check cache and not query interactively; leave unset or set to UINT64_MAX to disable absolute timeout)"),
                 SD_VARLINK_DEFINE_INPUT(untilUSec, SD_VARLINK_INT, SD_VARLINK_NULLABLE),
                 SD_VARLINK_FIELD_COMMENT("Whether to accept cached passwords from the kernel keyring"),
                 SD_VARLINK_DEFINE_INPUT(acceptCached, SD_VARLINK_BOOL, SD_VARLINK_NULLABLE),
index b6cfbd3bf3bdf7b22d823d303229ce5b2db409c1..271af58b1b19f7af3e89c9adb3b75a73c4644f0c 100644 (file)
@@ -35,9 +35,9 @@ SD_VARLINK_DEFINE_INTERFACE(
                 &vl_method_SetChildrenMax,
                 SD_VARLINK_SYMBOL_COMMENT("Sets the global udev properties."),
                 &vl_method_SetEnvironment,
-                SD_VARLINK_SYMBOL_COMMENT("Starts processing of queued events."),
-                &vl_method_Revert,
                 SD_VARLINK_SYMBOL_COMMENT("Revert previously set configurations."),
+                &vl_method_Revert,
+                SD_VARLINK_SYMBOL_COMMENT("Starts processing of queued events."),
                 &vl_method_StartExecQueue,
                 SD_VARLINK_SYMBOL_COMMENT("Stops processing of queued events."),
                 &vl_method_StopExecQueue,