From 6dadf31d6123a9127ee6ceccbcc272d53ec5f8fa Mon Sep 17 00:00:00 2001 From: Morten Linderud Date: Fri, 10 Mar 2023 20:20:44 +0100 Subject: [PATCH 1/2] src: Fixup copy-paste error for terminal_urlify_man Signed-off-by: Morten Linderud --- src/boot/pcrphase.c | 2 +- src/oom/oomd.c | 2 +- src/partition/repart.c | 2 +- src/sysext/sysext.c | 2 +- src/sysupdate/sysupdate.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/boot/pcrphase.c b/src/boot/pcrphase.c index 05e9645de9..896e248653 100644 --- a/src/boot/pcrphase.c +++ b/src/boot/pcrphase.c @@ -35,7 +35,7 @@ static int help(int argc, char *argv[], void *userdata) { _cleanup_free_ char *link = NULL; int r; - r = terminal_urlify_man("systemd-pcrphase", "1", &link); + r = terminal_urlify_man("systemd-pcrphase", "8", &link); if (r < 0) return log_oom(); diff --git a/src/oom/oomd.c b/src/oom/oomd.c index eb1b830605..2d6819daee 100644 --- a/src/oom/oomd.c +++ b/src/oom/oomd.c @@ -45,7 +45,7 @@ static int help(void) { _cleanup_free_ char *link = NULL; int r; - r = terminal_urlify_man("systemd-oomd", "1", &link); + r = terminal_urlify_man("systemd-oomd", "8", &link); if (r < 0) return log_oom(); diff --git a/src/partition/repart.c b/src/partition/repart.c index d80ba573df..e8f3cb7fe7 100644 --- a/src/partition/repart.c +++ b/src/partition/repart.c @@ -5598,7 +5598,7 @@ static int help(void) { _cleanup_free_ char *link = NULL; int r; - r = terminal_urlify_man("systemd-repart", "1", &link); + r = terminal_urlify_man("systemd-repart", "8", &link); if (r < 0) return log_oom(); diff --git a/src/sysext/sysext.c b/src/sysext/sysext.c index 0c4391991b..4553e90a50 100644 --- a/src/sysext/sysext.c +++ b/src/sysext/sysext.c @@ -883,7 +883,7 @@ static int verb_help(int argc, char **argv, void *userdata) { _cleanup_free_ char *link = NULL; int r; - r = terminal_urlify_man("systemd-sysext", "1", &link); + r = terminal_urlify_man("systemd-sysext", "8", &link); if (r < 0) return log_oom(); diff --git a/src/sysupdate/sysupdate.c b/src/sysupdate/sysupdate.c index a3d2c5a9b9..4ad901e080 100644 --- a/src/sysupdate/sysupdate.c +++ b/src/sysupdate/sysupdate.c @@ -1185,7 +1185,7 @@ static int verb_help(int argc, char **argv, void *userdata) { _cleanup_free_ char *link = NULL; int r; - r = terminal_urlify_man("systemd-sysupdate", "1", &link); + r = terminal_urlify_man("systemd-sysupdate", "8", &link); if (r < 0) return log_oom(); From 9e60dc0daffdb3c8b137c9ec529d7942e1c52124 Mon Sep 17 00:00:00 2001 From: Morten Linderud Date: Fri, 10 Mar 2023 20:29:56 +0100 Subject: [PATCH 2/2] man: Fix pcrphase.service manvolnum from 1 to 8 --- man/systemd-measure.xml | 2 +- man/ukify.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man/systemd-measure.xml b/man/systemd-measure.xml index 05966f264f..7a10a6db56 100644 --- a/man/systemd-measure.xml +++ b/man/systemd-measure.xml @@ -337,7 +337,7 @@ ukify1, systemd-creds1, systemd-cryptsetup@.service8, - systemd-pcrphase.service1 + systemd-pcrphase.service8 diff --git a/man/ukify.xml b/man/ukify.xml index 9f8efc6776..0cf74da8c3 100644 --- a/man/ukify.xml +++ b/man/ukify.xml @@ -305,7 +305,7 @@ systemd-stub7, systemd-boot7, objcopy1, - systemd-pcrphase.service1 + systemd-pcrphase.service8