[gnome-multi-writer] Show the verification failure in MB



commit 2c64123fe6c87f307bb0196cf42dca6ffc02caa9
Author: Richard Hughes <richard hughsie com>
Date:   Tue Jan 27 15:20:41 2015 +0000

    Show the verification failure in MB

 src/gmw-main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gmw-main.c b/src/gmw-main.c
index 85b5a1e..0a4b687 100644
--- a/src/gmw-main.c
+++ b/src/gmw-main.c
@@ -794,8 +794,8 @@ gmw_device_verify (GmwPrivate *priv,
                /* compare */
                if (memcmp (buffer_src, buffer_dest, bytes_to_read) != 0) {
                        g_set_error (error, 1, 0,
-                                    "Failed to verify at %" G_GUINT64_FORMAT,
-                                    bytes_completed);
+                                    "Failed to verify at %" G_GUINT64_FORMAT "Mb",
+                                    bytes_completed / (1024 * 1024));
                        goto out;
                }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]