diff options
Diffstat (limited to 'src/cryptenroll/cryptenroll-recovery.c')
-rw-r--r-- | src/cryptenroll/cryptenroll-recovery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptenroll/cryptenroll-recovery.c b/src/cryptenroll/cryptenroll-recovery.c index 3fed4bcdd2..7c170f2850 100644 --- a/src/cryptenroll/cryptenroll-recovery.c +++ b/src/cryptenroll/cryptenroll-recovery.c @@ -76,7 +76,7 @@ int enroll_recovery( r = json_build(&v, JSON_BUILD_OBJECT( - JSON_BUILD_PAIR("type", JSON_BUILD_STRING("systemd-recovery")), + JSON_BUILD_PAIR("type", JSON_BUILD_CONST_STRING("systemd-recovery")), JSON_BUILD_PAIR("keyslots", JSON_BUILD_ARRAY(JSON_BUILD_STRING(keyslot_as_string))))); if (r < 0) { log_error_errno(r, "Failed to prepare recovery key JSON token object: %m"); |