Signed-off-by: Ludwig Nussel <ludwig.nussel@xxxxxxx> --- luks/keymanage.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/luks/keymanage.c b/luks/keymanage.c index 915a0f2..91ff688 100644 --- a/luks/keymanage.c +++ b/luks/keymanage.c @@ -466,7 +466,7 @@ int LUKS_benchmarkt_iterations() return PBKDF2_performance_check()/2; } -int LUKS_device_ready(char *device, int mode) +int LUKS_device_ready(const char *device, int mode) { int devfd = open(device, mode | O_DIRECT | O_SYNC); if(devfd < 0) { --------------------------------------------------------------------- dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/ To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx For additional commands, e-mail: dm-crypt-help@xxxxxxxx