[gnome-multi-writer] trivial: Raise the USB disk insanity limit to 256GB



commit 8f899426a792c2ab88928dabd71325b4c3056443
Author: Richard Hughes <richard hughsie com>
Date:   Wed Feb 11 14:51:07 2015 +0000

    trivial: Raise the USB disk insanity limit to 256GB

 src/gmw-probe.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gmw-probe.c b/src/gmw-probe.c
index e9bb7f2..2c6318e 100644
--- a/src/gmw-probe.c
+++ b/src/gmw-probe.c
@@ -361,7 +361,7 @@ gmw_probe_scan_device (GmwProbeDevice *dev, GCancellable *cancellable, GError **
                                     "Disk capacity reported as zero");
                return FALSE;
        }
-       if (dev->disk_size > 0x800000000llu) {
+       if (dev->disk_size > 0x4000000000llu) {
                g_set_error (error,
                             GMW_ERROR,
                             GMW_ERROR_FAILED,


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