summaryrefslogtreecommitdiff
path: root/daemon/gvfsbackendmtp.c
diff options
context:
space:
mode:
authorDebarshi Ray <debarshir@gnome.org>2014-12-10 18:05:48 +0100
committerDebarshi Ray <debarshir@gnome.org>2014-12-11 11:24:19 +0100
commit62ae27ae14860acce6b0d93b3e71747df31b8b4a (patch)
tree874cc15cbc177f6184efb7cb97afd01962981ab7 /daemon/gvfsbackendmtp.c
parente84d7ebc28eddc83f5a8bb99ab4d6607c3c25fc9 (diff)
downloadgvfs-62ae27ae14860acce6b0d93b3e71747df31b8b4a.tar.gz
mtp: Do not crash when debugging is turned on
https://bugzilla.gnome.org/show_bug.cgi?id=741346
Diffstat (limited to 'daemon/gvfsbackendmtp.c')
-rw-r--r--daemon/gvfsbackendmtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gvfsbackendmtp.c b/daemon/gvfsbackendmtp.c
index abb69f95..0aede233 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);