[gnome-multi-writer] trivial: Increase the supported device size to 32GB
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-multi-writer] trivial: Increase the supported device size to 32GB
- Date: Thu, 29 Jan 2015 14:13:48 +0000 (UTC)
commit da30cd927600159d2071d543d23c36860df2d2f6
Author: Richard Hughes <richard hughsie com>
Date: Thu Jan 29 14:13:23 2015 +0000
trivial: Increase the supported device size to 32GB
Spotted by Sanon Family, many thanks.
src/gmw-main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gmw-main.c b/src/gmw-main.c
index c37a434..5afe712 100644
--- a/src/gmw-main.c
+++ b/src/gmw-main.c
@@ -1633,7 +1633,7 @@ gmw_udisks_object_add (GmwPrivate *priv, GDBusObject *dbus_object)
block_path, (guint) device_size);
return FALSE;
}
- if (device_size > 1000 * 16) {
+ if (device_size > 1024 * 32) {
g_debug ("%s is too large [%u]",
block_path, (guint) device_size);
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]