[gnome-multi-writer] trivial: Report oversize disks in GB
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-multi-writer] trivial: Report oversize disks in GB
- Date: Wed, 11 Feb 2015 14:58:06 +0000 (UTC)
commit c8fb306613d09d61f113c8fba67cdd24fe3a71f8
Author: Richard Hughes <richard hughsie com>
Date: Wed Feb 11 14:45:40 2015 +0000
trivial: Report oversize disks in GB
src/gmw-probe.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gmw-probe.c b/src/gmw-probe.c
index 2d85070..e9bb7f2 100644
--- a/src/gmw-probe.c
+++ b/src/gmw-probe.c
@@ -366,8 +366,8 @@ gmw_probe_scan_device (GmwProbeDevice *dev, GCancellable *cancellable, GError **
GMW_ERROR,
GMW_ERROR_FAILED,
"Disk capacity reported as invalid: %"
- G_GUINT64_FORMAT "MB",
- dev->disk_size / ONE_MB);
+ G_GUINT64_FORMAT "GB",
+ dev->disk_size / ONE_GB);
return FALSE;
}
g_debug ("Disk reports to be %luMB in size", dev->disk_size / ONE_MB);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]