[gnome-multi-writer] trivial: Fix up a couple of Werror=format problems
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-multi-writer] trivial: Fix up a couple of Werror=format problems
- Date: Tue, 16 Aug 2016 17:08:21 +0000 (UTC)
commit 01f77d10a0e7bea9f93ce0e6ffa687c9dd134373
Author: Richard Hughes <richard hughsie com>
Date: Tue Aug 16 18:08:05 2016 +0100
trivial: Fix up a couple of Werror=format problems
src/gmw-main.c | 2 +-
src/gmw-probe.c | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/gmw-main.c b/src/gmw-main.c
index 76c5cdb..7598e8e 100644
--- a/src/gmw-main.c
+++ b/src/gmw-main.c
@@ -1670,7 +1670,7 @@ gmw_udisks_object_add (GmwPrivate *priv, GDBusObject *dbus_object)
g_mutex_lock (&priv->devices_mutex);
g_ptr_array_add (priv->devices, device);
g_mutex_unlock (&priv->devices_mutex);
- g_debug ("Added %s [%lu]", block_path, device_size);
+ g_debug ("Added %s [%" G_GUINT64_FORMAT "]", block_path, device_size);
return TRUE;
}
diff --git a/src/gmw-probe.c b/src/gmw-probe.c
index b1b8890..aec89ab 100644
--- a/src/gmw-probe.c
+++ b/src/gmw-probe.c
@@ -374,7 +374,8 @@ gmw_probe_scan_device (GmwProbeDevice *dev, GCancellable *cancellable, GError **
dev->disk_size / ONE_GB);
return FALSE;
}
- g_debug ("Disk reports to be %luMB in size", dev->disk_size / ONE_MB);
+ g_debug ("Disk reports to be %" G_GUINT64_FORMAT "MB in size",
+ dev->disk_size / ONE_MB);
/* save data that's there already */
if (!gmw_probe_device_data_save (dev, cancellable, error))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]