Print this page
zpool import is braindead

@@ -21,10 +21,11 @@
 
 /*
  * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
  * Copyright (c) 2013, Joyent, Inc. All rights reserved.
  * Copyright (c) 2012 by Delphix. All rights reserved.
+ * Copyright 2014 RackTop Systems.
  */
 
 /*
  * Internal utility routines for the ZFS library.
  */

@@ -960,11 +961,11 @@
 zprop_print_one_property(const char *name, zprop_get_cbdata_t *cbp,
     const char *propname, const char *value, zprop_source_t sourcetype,
     const char *source, const char *recvd_value)
 {
         int i;
-        const char *str;
+        const char *str = NULL;
         char buf[128];
 
         /*
          * Ignore those source types that the user has chosen to ignore.
          */