Add -p switch to "zpool get"
[zfs.git] / module / zfs / spa_boot.c
index a6cdb81..be79542 100644 (file)
@@ -24,6 +24,8 @@
  * Use is subject to license terms.
  */
 
+#ifdef _KERNEL
+
 #include <sys/zio.h>
 #include <sys/spa.h>
 #include <sys/sunddi.h>
@@ -44,3 +46,5 @@ spa_free_bootprop(char *value)
 {
        ddi_prop_free(value);
 }
+
+#endif /* _KERNEL */