]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
verifiers: Blocklist fallout cleanup
authorDavid Michael <fedora.dm0@gmail.com>
Fri, 5 Jul 2019 11:45:59 +0000 (07:45 -0400)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 11 Jul 2019 16:06:23 +0000 (18:06 +0200)
Blocklist fallout cleanup after commit 5c6f9bc15 (generic/blocklist: Fix
implicit declaration of function grub_file_filter_disable_compression()).

Signed-off-by: David Michael <fedora.dm0@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/osdep/generic/blocklist.c

index ea2a511b6d845c55684a0cdc4876e71c05f595a9..2d904030206d8dd2c60098b1f86a7a8091cedcfc 100644 (file)
@@ -59,7 +59,7 @@ grub_install_get_blocklist (grub_device_t root_dev,
 
       grub_disk_cache_invalidate_all ();
 
-      file = grub_file_open (core_path_dev, GRUB_FILE_TYPE_NONE | FILE_TYPE_NO_DECOMPRESS);
+      file = grub_file_open (core_path_dev, GRUB_FILE_TYPE_NONE | GRUB_FILE_TYPE_NO_DECOMPRESS);
       if (file)
        {
          if (grub_file_size (file) != core_size)
@@ -116,7 +116,7 @@ grub_install_get_blocklist (grub_device_t root_dev,
 
   grub_file_t file;
   /* Now read the core image to determine where the sectors are.  */
-  file = grub_file_open (core_path_dev, GRUB_FILE_TYPE_NONE | FILE_TYPE_NO_DECOMPRESS);
+  file = grub_file_open (core_path_dev, GRUB_FILE_TYPE_NONE | GRUB_FILE_TYPE_NO_DECOMPRESS);
   if (! file)
     grub_util_error ("%s", grub_errmsg);