From 4255792153906238a67e4a4d748ba71b52d663be Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 20 Jul 2009 17:13:50 +0200 Subject: Make debug output for progress callbacks really work with large files Fixes omission of % in commit 66df9e764aed43b23b5c3326ff9ab024b0a49124 --- daemon/gvfsjobcopy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'daemon/gvfsjobcopy.c') diff --git a/daemon/gvfsjobcopy.c b/daemon/gvfsjobcopy.c index 60636eee..59bb693d 100644 --- a/daemon/gvfsjobcopy.c +++ b/daemon/gvfsjobcopy.c @@ -133,11 +133,11 @@ progress_callback (goffset current_num_bytes, dbus_uint64_t current_dbus, total_dbus; DBusMessage *message; - g_debug ("progress_callback " G_GOFFSET_FORMAT "/" G_GOFFSET_FORMAT "\n", current_num_bytes, total_num_bytes); + g_debug ("progress_callback %" G_GOFFSET_FORMAT "/%" G_GOFFSET_FORMAT "\n", current_num_bytes, total_num_bytes); if (op_job->callback_obj_path == NULL) return; - + message = dbus_message_new_method_call (dbus_message_get_sender (dbus_job->message), op_job->callback_obj_path, -- cgit v1.2.1