[gvfs/mtp-backend: 57/64] MTP: Review Feedback: Fix warnings.
- From: Philip Langdale <philipl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs/mtp-backend: 57/64] MTP: Review Feedback: Fix warnings.
- Date: Sat, 12 Jan 2013 04:38:56 +0000 (UTC)
commit 41db12ddb9c4186d5d36e0e6dc1f280d27d1c7c3
Author: Philip Langdale <philipl overt org>
Date: Thu Jan 3 20:51:50 2013 -0800
MTP: Review Feedback: Fix warnings.
monitor/mtp/gmtpvolumemonitor.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/monitor/mtp/gmtpvolumemonitor.c b/monitor/mtp/gmtpvolumemonitor.c
index 569b0c8..c83233b 100644
--- a/monitor/mtp/gmtpvolumemonitor.c
+++ b/monitor/mtp/gmtpvolumemonitor.c
@@ -141,7 +141,8 @@ static void
gudev_add_device (GMtpVolumeMonitor *monitor, GUdevDevice *device, gboolean do_emit)
{
GMtpVolume *volume;
- const char *usb_bus_num, *usb_device_num, *uri;
+ const char *usb_bus_num, *usb_device_num;
+ char *uri;
GFile *activation_mount_root;
usb_bus_num = g_udev_device_get_property (device, "BUSNUM");
@@ -156,7 +157,7 @@ gudev_add_device (GMtpVolumeMonitor *monitor, GUdevDevice *device, gboolean do_e
return;
}
- g_debug ("gudev_add_device: device %s (bus: %i, device: %i)",
+ g_debug ("gudev_add_device: device %s (bus: %s, device: %s)",
g_udev_device_get_device_file (device),
usb_bus_num, usb_device_num);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]