]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/disk/lvm.c (grub_lvm_scan_device): Print errors on the end
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 3 Apr 2011 13:57:44 +0000 (15:57 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 3 Apr 2011 13:57:44 +0000 (15:57 +0200)
of function to allow further scanning for LVMs.

ChangeLog
grub-core/disk/lvm.c

index 88a8a7f691820cb0fcc023765b505bc73be664c6..fc6dee2cee1e5b230378547615974fc4d19a86c3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-04-02  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/disk/lvm.c (grub_lvm_scan_device): Print errors on the end
+       of function to allow further scanning for LVMs.
+
 2011-04-02  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_read): Don't close
index 5a79063daa8d23395636b83ea591694eae9dc809..6b6417f38d7dd9027ce65b9f24c55cb916e41601 100644 (file)
@@ -838,6 +838,7 @@ grub_lvm_scan_device (const char *name)
   grub_disk_close (disk);
   if (grub_errno == GRUB_ERR_OUT_OF_RANGE)
     grub_errno = GRUB_ERR_NONE;
+  grub_print_error ();
   return 0;
 }