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

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