Print this page
4833 Remove volrmmount
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>

@@ -15,14 +15,16 @@
  * If applicable, add the following below this CDDL HEADER, with the
  * fields enclosed by brackets "[]" replaced with your own identifying
  * information: Portions Copyright [yyyy] [name of copyright owner]
  *
  * CDDL HEADER END
- */
-/*
+ *
+ *
  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
+ *
+ * Copyright 2014 Andrew Stormont.
  */
 
 /*
  * rmf_slice.c :
  *      This file contains the functions for parsing a slice file

@@ -881,11 +883,11 @@
                 int32_t num;
         } part[NDKMAP];
         diskaddr_t min_val;
         int32_t min_slice, num_slices;
         diskaddr_t media_size;
-        uint32_t cyl_size;
+        uint32_t cyl_size = 0;
         int sparc_style = 0;    /* sparc_style handling ? */
         struct fdisk_info fdisk;
         int sol_part;
         int total_parts = 0;