summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2014-09-22 15:51:49 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2014-09-24 10:54:48 +0200
commit3cef6dd721ad79bf73bbf5fa0d381ad7b71e1555 (patch)
tree251a0853f3ba85a90da88a93d762223c9ce3d4f0
parentf809fa5a7865bb59d9a2616629523429dd7ec629 (diff)
downloadlvm2-3cef6dd721ad79bf73bbf5fa0d381ad7b71e1555.tar.gz
cleanup: drop duplicate const usage
const char == const char const.
-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 6fcfa089f..001248d45 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 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.";
+ 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.";
const char *offset = NULL, *type = NULL, *magic = NULL,
*usage = NULL, *label = NULL, *uuid = NULL;
loff_t offset_value;