summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2014-05-07 13:09:59 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2014-05-07 14:17:46 +0200
commit2cc02c570e489426568e57ad0b8fdbd9eedccf87 (patch)
tree466afe6721ba67af9e55e88ab6d440a66e2a2a4e
parent9845f8c7674892d7760526b36e45c6425bd1950f (diff)
downloadlvm2-2cc02c570e489426568e57ad0b8fdbd9eedccf87.tar.gz
cleanup: constify pointers
-rw-r--r--lib/device/dev-type.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/device/dev-type.c b/lib/device/dev-type.c
index 9d610d458..e0cae459f 100644
--- a/lib/device/dev-type.c
+++ b/lib/device/dev-type.c
@@ -460,9 +460,9 @@ static int _blkid_wipe(blkid_probe probe, struct device *dev, const char *name,
uint32_t types_to_exclude, uint32_t types_no_prompt,
int yes, force_t force)
{
- static const char _msg_failed_offset[] = "Failed to get offset of the %s signature on %s.";
- static const char _msg_failed_length[] = "Failed to get length of the %s signature on %s.";
- static const char _msg_wiping[] = "Wiping %s signature on %s.";
+ static const char const _msg_failed_offset[] = "Failed to get offset of the %s signature on %s.";
+ static const char const _msg_failed_length[] = "Failed to get length of the %s signature on %s.";
+ static const char const _msg_wiping[] = "Wiping %s signature on %s.";
const char *offset = NULL, *type = NULL, *magic = NULL,
*usage = NULL, *label = NULL, *uuid = NULL;
loff_t offset_value;