]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lsmem: correct the grammar of an error message
authorBenno Schulenberg <bensberg@telfort.nl>
Sat, 7 Mar 2026 11:43:07 +0000 (12:43 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 12 Mar 2026 10:12:16 +0000 (11:12 +0100)
That is: make the message identical to its twin nine lines back.

(The spello was introduced by commit 92d018a105 from five months ago.)

CC: Sumanth Korikkar <sumanthk@linux.ibm.com>
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
sys-utils/lsmem.c

index b74c95d437d32a82a0ea20a5a19169e252f3f170..aee68a1711cbb0f23b62e681c252fc102ec84435 100644 (file)
@@ -819,7 +819,7 @@ int main(int argc, char **argv)
        /* open /sys/firmware/memory handler (optional) */
        lsmem->sysmemconfig = ul_new_path(_PATH_SYS_MEMCONFIG);
        if (!lsmem->sysmemconfig)
-               err(EXIT_FAILURE, _("failed to initialized %s handler"), _PATH_SYS_MEMCONFIG);
+               err(EXIT_FAILURE, _("failed to initialize %s handler"), _PATH_SYS_MEMCONFIG);
        if (prefix && ul_path_set_prefix(lsmem->sysmemconfig, prefix) != 0)
                err(EXIT_FAILURE, _("invalid argument to --sysroot"));