[lvm-devel] master - cleanup: use const format

Zdenek Kabelac zkabelac at fedoraproject.org
Fri Nov 22 20:09:30 UTC 2013


Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=b8f72c0f2c41fa76bdd3f4c0d73cf31dc9ce9b88
Commit:        b8f72c0f2c41fa76bdd3f4c0d73cf31dc9ce9b88
Parent:        62db5c1e48467ef846432652dd1058eb85c0bcbd
Author:        Zdenek Kabelac <zkabelac at redhat.com>
AuthorDate:    Fri Nov 22 20:43:30 2013 +0100
Committer:     Zdenek Kabelac <zkabelac at redhat.com>
CommitterDate: Fri Nov 22 21:00:56 2013 +0100

cleanup: use const format

---
 lib/label/label.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/label/label.h b/lib/label/label.h
index 103e799..253e1e8 100644
--- a/lib/label/label.h
+++ b/lib/label/label.h
@@ -88,7 +88,7 @@ struct label_ops {
 
 struct labeller {
 	struct label_ops *ops;
-	struct format_type *fmt;
+	const struct format_type *fmt;
 };
 
 int label_init(void);




More information about the lvm-devel mailing list