From 81465d72e3726e706cbb450ad51ea6b3cab1feb8 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 27 May 2015 21:16:46 +0200 Subject: iniparser_getstring() returns const char * --- bin/ykfde.c | 2 +- udev/ykfde.c | 2 +- 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) -- cgit v1.2.3-70-g09d2