[PATCH 2/2] fdisk: API: comment labels array

Davidlohr Bueso
2012-07-24T12:40:34Z

From: Davidlohr Bueso <dave@gnu.org>

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
---
fdisks/utils.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/fdisks/utils.c b/fdisks/utils.c
index 8de64c2..c4ffe04 100644
--- a/fdisks/utils.c
+++ b/fdisks/utils.c
@@ -35,7 +35,9 @@
int fdisk_debug_mask;

/*
- * label probing functions
+ * Label probing functions.
+ * Must have the same order as fdisk_labeltype as the index
+ * depends on it.
*/
static const struct fdisk_label *labels[] =
{
--
1.7.4.1