]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
(convert_system_partition_to_system_disk): Initialise node.
authorColin Watson <cjwatson@ubuntu.com>
Fri, 17 Sep 2010 22:41:06 +0000 (23:41 +0100)
committerColin Watson <cjwatson@ubuntu.com>
Fri, 17 Sep 2010 22:41:06 +0000 (23:41 +0100)
* grub-core/kern/emu/hostdisk.c

ChangeLog
grub-core/kern/emu/hostdisk.c

index 9638bc63346eb2b62076b9b7d57f54f9627286d9..d34dbd2011757cd6692df81467997de6e554cc35 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-09-17  Colin Watson  <cjwatson@ubuntu.com>
+
+       * grub-core/kern/emu/hostdisk.c
+       (convert_system_partition_to_system_disk): Initialise node.
+
 2010-09-17  Colin Watson  <cjwatson@ubuntu.com>
 
        * grub-core/kern/emu/hostdisk.c
index a9b94e2121cbae3495e016ad20cf538e15c00efd..7d9d1dac1c570d34b3dd6ca9beaffd59a1b3e81f 100644 (file)
@@ -1163,7 +1163,7 @@ convert_system_partition_to_system_disk (const char *os_dev, struct stat *st)
        {
          struct dm_tree *tree;
          uint32_t maj, min;
-         struct dm_tree_node *node, *child;
+         struct dm_tree_node *node = NULL, *child;
          void *handle;
          const char *node_uuid, *mapper_name = NULL, *child_uuid, *child_name;