diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-03-21 08:44:50 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-03-21 08:44:52 +0100 |
commit | fe3198df666851a69a48da0e862920aff42f801a (patch) | |
tree | a75cd18ae7a442f6741c201457edcc13154fc28f /src/boot | |
parent | uki-util: rename uki -> f (diff) | |
download | systemd-fe3198df666851a69a48da0e862920aff42f801a.tar.xz systemd-fe3198df666851a69a48da0e862920aff42f801a.zip |
uki-util: rename KernelType -> KernelImageType
The name KernelType is slightly ambiguous. The type is about kernel
image. Let's rename the enum to clarify that.
Diffstat (limited to 'src/boot')
-rw-r--r-- | src/boot/bootctl-uki.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/boot/bootctl-uki.c b/src/boot/bootctl-uki.c index eda79218fc..0f17cb661d 100644 --- a/src/boot/bootctl-uki.c +++ b/src/boot/bootctl-uki.c @@ -5,27 +5,27 @@ #include "uki-util.h" int verb_kernel_identify(int argc, char *argv[], void *userdata) { - KernelType t; + KernelImageType t; int r; r = inspect_kernel(argv[1], &t, NULL, NULL, NULL); if (r < 0) return r; - puts(kernel_type_to_string(t)); + puts(kernel_image_type_to_string(t)); return 0; } int verb_kernel_inspect(int argc, char *argv[], void *userdata) { _cleanup_free_ char *cmdline = NULL, *uname = NULL, *pname = NULL; - KernelType t; + KernelImageType t; int r; r = inspect_kernel(argv[1], &t, &cmdline, &uname, &pname); if (r < 0) return r; - printf("Kernel Type: %s\n", kernel_type_to_string(t)); + printf("Kernel Type: %s\n", kernel_image_type_to_string(t)); if (cmdline) printf(" Cmdline: %s\n", cmdline); if (uname) |