diff options
| author | Peter Jones <pjones@redhat.com> | 2021-03-09 11:54:58 -0500 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2021-03-10 15:54:20 -0500 |
| commit | 766aac4d5cfbe76026be5ce718b0883ee211f323 (patch) | |
| tree | 56b15cac9a128b4285d58bc1e2a4b12cff5ed881 /mok.c | |
| parent | 78809820b5a3f79a0bfbec00e630e40011acf4ec (diff) | |
| download | efi-boot-shim-766aac4d5cfbe76026be5ce718b0883ee211f323.tar.gz efi-boot-shim-766aac4d5cfbe76026be5ce718b0883ee211f323.zip | |
Consolidate most of our standard lib functions to lib
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'mok.c')
| -rw-r--r-- | mok.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1013,7 +1013,7 @@ EFI_STATUS import_mok_state(EFI_HANDLE image_handle) struct mok_state_variable *v = &mok_state_variables[i]; ZeroMem(&config_template, sizeof(config_template)); - strncpya(config_template.name, (CHAR8 *)v->rtname8, 255); + strncpy(config_template.name, (CHAR8 *)v->rtname8, 255); config_template.name[255] = '\0'; config_template.data_size = v->data_size; |
