summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2012-09-04 18:22:25 +0200
committerTomas Bzatek <tbzatek@redhat.com>2012-09-04 18:22:25 +0200
commit62b46167bf1ddafe20085a6478fb2660a42e9bbf (patch)
treefcdb43bc05d8f4d2e28ec02f96d96c9549d22d78
parent43e94e9bfc1b30b4da751ba40e831fc5a1988c1b (diff)
downloadgvfs-62b46167bf1ddafe20085a6478fb2660a42e9bbf.tar.gz
afp: Fix error message (-Wformat-security)
We need to supply an %s somewhere in here to be secure. https://bugzilla.gnome.org/show_bug.cgi?id=682990 Signed-off-by: Tomas Bzatek <tbzatek@redhat.com>
-rw-r--r--daemon/gvfsafpserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gvfsafpserver.c b/daemon/gvfsafpserver.c
index c4af4fc4..15976d19 100644
--- a/daemon/gvfsafpserver.c
+++ b/daemon/gvfsafpserver.c
@@ -1669,7 +1669,7 @@ g_vfs_afp_server_fill_info (GVfsAfpServer *server,
invalid_reply:
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
- _("Unable to connect to the server. A communication problem occurred."),
+ _("Unable to connect to the server '%s'. A communication problem occurred."),
server->priv->info.server_name);
return FALSE;