[gvfs] mtp: Do not crash when debugging is turned on
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] mtp: Do not crash when debugging is turned on
- Date: Thu, 11 Dec 2014 10:24:34 +0000 (UTC)
commit 62ae27ae14860acce6b0d93b3e71747df31b8b4a
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 abb69f9..0aede23 100644
--- a/daemon/gvfsbackendmtp.c
+++ b/daemon/gvfsbackendmtp.c
@@ -1122,7 +1122,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]