[libblockdev 03/10] Discard const modifier on ret

mulhern amulhern at redhat.com
Wed Jun 25 21:35:32 UTC 2014


Signed-off-by: mulhern <amulhern at redhat.com>
---
 src/plugins/crypto.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/crypto.c b/src/plugins/crypto.c
index c00862e..2c9d691 100644
--- a/src/plugins/crypto.c
+++ b/src/plugins/crypto.c
@@ -98,7 +98,7 @@ gboolean bd_crypto_device_is_luks (gchar *device, gchar **error_message) {
 gchar* bd_crypto_luks_uuid (gchar *device, gchar **error_message) {
     struct crypt_device *cd = NULL;
     gint ret_num;
-    const gchar *ret;
+    gchar *ret;
 
     ret_num = crypt_init (&cd, device);
     if (ret_num != 0) {
-- 
1.9.3



More information about the anaconda-patches mailing list