summaryrefslogtreecommitdiff
path: root/daemon
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2016-12-15 11:41:17 +0100
committerOndrej Holy <oholy@redhat.com>2016-12-15 11:50:10 +0100
commit1d6709036f22cc2a76d2f51314e5987cb2a57dc5 (patch)
treedae04f08c5c0bde27b8cfd025ec79b22740357b6 /daemon
parent8dec4b1823298e754f6c6408276fe775c82dfa99 (diff)
downloadgvfs-1d6709036f22cc2a76d2f51314e5987cb2a57dc5.tar.gz
mount: Do not spam journal by useless warnings
The following warning is printed if mount failed from whatever reason: dbus_mount_reply: Error from org.gtk.vfs.Mountable.mount(): ... It is expected that mount may fail for various reasons and it is not definitely anything critical what needs to be always printed. It happens regularly with smbbrowse, whenf we are not in smb environment, or the workgroup is misconfigured. Let's use g_debug instead of g_warning.
Diffstat (limited to 'daemon')
-rw-r--r--daemon/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/mount.c b/daemon/mount.c
index e10e1456..a3a79911 100644
--- a/daemon/mount.c
+++ b/daemon/mount.c
@@ -296,7 +296,7 @@ dbus_mount_reply (GVfsDBusMountable *proxy,
else
{
g_dbus_error_strip_remote_error (error);
- g_warning ("dbus_mount_reply: Error from org.gtk.vfs.Mountable.mount(): %s", error->message);
+ g_debug ("dbus_mount_reply: Error from org.gtk.vfs.Mountable.mount(): %s", error->message);
mount_finish (data, error);
g_error_free (error);
}