[gvfs/gnome-3-14] mtp: Do not crash when debugging is turned on
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs/gnome-3-14] mtp: Do not crash when debugging is turned on
- Date: Thu, 11 Dec 2014 10:25:15 +0000 (UTC)
commit b2c89ea0867cbe829fbc2ba923f6bf943cca02da
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Dec 10 18:05:48 2014 +0100
mtp: Do not crash when debugging is turned on
https://bugzilla.gnome.org/show_bug.cgi?id=741346
daemon/gvfsbackendmtp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gvfsbackendmtp.c b/daemon/gvfsbackendmtp.c
index a606055..5f482ff 100644
--- a/daemon/gvfsbackendmtp.c
+++ b/daemon/gvfsbackendmtp.c
@@ -1117,7 +1117,7 @@ get_device_info (GVfsBackendMtp *backend, GFileInfo *info)
static void
get_storage_info (LIBMTP_devicestorage_t *storage, GFileInfo *info) {
- DEBUG_ENUMERATE ("(II) get_storage_info: %s\n", storage->id);
+ DEBUG_ENUMERATE ("(II) get_storage_info: %X\n", storage->id);
char *storage_name = create_storage_name(storage);
g_file_info_set_name (info, storage_name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]