Skip to content

Commit 6154941

Browse files
committed
Fix missing progress initialization in bd_crypto_luks_add_key
1 parent c78a646 commit 6154941

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/plugins/crypto.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1297,6 +1297,11 @@ gboolean bd_crypto_luks_add_key (const gchar *device, BDCryptoKeyslotContext *co
12971297
gint ret = 0;
12981298
guint64 progress_id = 0;
12991299
GError *l_error = NULL;
1300+
gchar *msg = NULL;
1301+
1302+
msg = g_strdup_printf ("Started adding key to the LUKS device '%s'", device);
1303+
progress_id = bd_utils_report_started (msg);
1304+
g_free (msg);
13001305

13011306
ret = crypt_init (&cd, device);
13021307
if (ret != 0) {

0 commit comments

Comments
 (0)