+2011-01-13 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * grub-core/fs/zfs/zfsinfo.c (grub_cmd_zfs_bootfs): Quote bootpath and
+ diskdevid.
+
2011-01-13 Vladimir Serbinenko <phcoder@gmail.com>
Fix compilation on cygwin.
grub_free (nv);
grub_free (nvlist);
- bootfs = grub_xasprintf ("zfs-bootfs=%s/%llu%s%s%s%s",
+ bootfs = grub_xasprintf ("zfs-bootfs=%s/%llu%s%s%s%s%s%s",
poolname, (unsigned long long) mdnobj,
- bootpath ? ",bootpath=" : "",
- bootpath ? : "",
- devid ? ",diskdevid=" : "",
- devid ? : "");
+ bootpath ? ",bootpath=\"" : "",
+ bootpath ? : "",
+ bootpath ? "\"" : "",
+ devid ? ",diskdevid=\"" : "",
+ devid ? : "",
+ devid ? "\"" : "");
if (!bootfs)
return grub_errno;
if (argc >= 2)