mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-15 12:50:06 +01:00
Make total_keyfiles counter global variable.
This commit is contained in:
committed by
Milan Broz
parent
c34a3e2c5b
commit
50797c7948
@@ -125,6 +125,7 @@ static const char *set_pbkdf = NULL;
|
||||
static const char **action_argv;
|
||||
static int action_argc;
|
||||
static const char *null_action_argv[] = {NULL, NULL};
|
||||
static int total_keyfiles = 0;
|
||||
|
||||
void tools_cleanup(void)
|
||||
{
|
||||
@@ -3609,7 +3610,7 @@ int main(int argc, const char **argv)
|
||||
poptContext popt_context;
|
||||
struct action_type *action;
|
||||
const char *aname;
|
||||
int r, total_keyfiles = 0;
|
||||
int r;
|
||||
|
||||
crypt_set_log_callback(NULL, tool_log, NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user