aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/ykfde.c2
-rw-r--r--udev/ykfde.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/ykfde.c b/bin/ykfde.c
index 663d198..b3fa882 100644
--- a/bin/ykfde.c
+++ b/bin/ykfde.c
@@ -52,7 +52,7 @@ int main(int argc, char **argv) {
int i;
int8_t rc = EXIT_FAILURE;
/* cryptsetup */
- char * device_name;
+ const char * device_name;
int8_t luks_slot = -1;
struct crypt_device *cd;
crypt_status_info cs;
diff --git a/udev/ykfde.c b/udev/ykfde.c
index 923e5ef..1d420d0 100644
--- a/udev/ykfde.c
+++ b/udev/ykfde.c
@@ -67,7 +67,7 @@ static int send_on_socket(int fd, const char *socket_name, const void *packet, s
static int try_answer(char * ask_file, char * response) {
int8_t rc = EXIT_FAILURE;
dictionary * ini;
- char * ask_message, * ask_socket;
+ const char * ask_message, * ask_socket;
int fd_askpass;
if ((ini = iniparser_load(ask_file)) == NULL)