Blame SOURCES/0041-util-grub-install.c-write_to_disk-Add-an-info-messag.patch

6b3c76
From 2e763a9ee4ff7ec25c113b15cb41c11a5998505c Mon Sep 17 00:00:00 2001
a85e8e
From: Colin Watson <cjwatson@ubuntu.com>
a85e8e
Date: Thu, 23 Jan 2014 12:05:36 +0000
6b3c76
Subject: [PATCH 041/261] * util/grub-install.c (write_to_disk): Add an info
6b3c76
 message.
a85e8e
a85e8e
---
d41074
 ChangeLog           | 4 ++++
6b3c76
 util/grub-install.c | 1 +
a85e8e
 2 files changed, 5 insertions(+)
a85e8e
d41074
diff --git a/ChangeLog b/ChangeLog
6b3c76
index 1ede37091..eee8e78a7 100644
d41074
--- a/ChangeLog
d41074
+++ b/ChangeLog
d41074
@@ -1,3 +1,7 @@
d41074
+2014-01-23  Colin Watson  <cjwatson@ubuntu.com>
d41074
+
d41074
+	* util/grub-install.c (write_to_disk): Add an info message.
d41074
+
d41074
 2014-01-21  Andrey Borzenkov <arvidjaar@gmail.com>
d41074
 
d41074
 	* Makefile.am: Allow adding extra files to generated Windows ZIP
6b3c76
diff --git a/util/grub-install.c b/util/grub-install.c
6b3c76
index 5903f340a..787dc90fc 100644
6b3c76
--- a/util/grub-install.c
6b3c76
+++ b/util/grub-install.c
6b3c76
@@ -675,6 +675,7 @@ write_to_disk (grub_device_t dev, const char *fn)
6b3c76
 
6b3c76
   core_img = grub_util_read_image (fn);    
6b3c76
 
6b3c76
+  grub_util_info ("writing `%s' to `%s'", fn, dev->disk->name);
6b3c76
   err = grub_disk_write (dev->disk, 0, 0,
6b3c76
 			 core_size, core_img);
6b3c76
   free (core_img);
6b3c76
-- 
6b3c76
2.13.5
6b3c76