[Spice-devel] vdagentd: Spelling fixes for the man page and traces

Francois Gouget fgouget at codeweavers.com
Fri Apr 7 08:20:25 UTC 2017


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 data/spice-vdagentd.1.in   | 2 +-
 src/vdagentd/console-kit.c | 2 +-
 src/vdagentd/vdagentd.c    | 4 ++--
 src/vdagentd/virtio-port.c | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/data/spice-vdagentd.1.in b/data/spice-vdagentd.1.in
index 045b36c..7a00ff1 100644
--- a/data/spice-vdagentd.1.in
+++ b/data/spice-vdagentd.1.in
@@ -20,7 +20,7 @@ resolution, to the number of client windows and their resolution
 Support of copy and paste (text and images) between the active X11 session
 and the client, this supports both the primary selection and the clipboard
 .P
-Support for transfering files from the client to the agent
+Support for transferring files from the client to the agent
 .SH OPTIONS
 .TP
 \fB-h\fP
diff --git a/src/vdagentd/console-kit.c b/src/vdagentd/console-kit.c
index 9e46ad5..381b97e 100644
--- a/src/vdagentd/console-kit.c
+++ b/src/vdagentd/console-kit.c
@@ -443,7 +443,7 @@ char *session_info_session_for_pid(struct session_info *info, uint32_t pid)
                    error.message);
             dbus_error_free(&error);
         } else
-            syslog(LOG_ERR, "GetSessionForUnixProces failed");
+            syslog(LOG_ERR, "GetSessionForUnixProcess failed");
         goto exit;
     }
 
diff --git a/src/vdagentd/vdagentd.c b/src/vdagentd/vdagentd.c
index 0c54733..f3ac606 100644
--- a/src/vdagentd/vdagentd.c
+++ b/src/vdagentd/vdagentd.c
@@ -329,7 +329,7 @@ static void do_client_file_xfer(struct vdagent_virtio_port *vport,
         VDAgentFileXferStartMessage *s = (VDAgentFileXferStartMessage *)data;
         if (!active_session_conn) {
             send_file_xfer_status(vport,
-               "Could not find an agent connnection belonging to the "
+               "Could not find an agent connection belonging to the "
                "active session, cancelling client file-xfer request %u",
                s->id, VD_AGENT_FILE_XFER_STATUS_CANCELLED);
             return;
@@ -1152,7 +1152,7 @@ int main(int argc, char *argv[])
     udscs_destroy_server(server);
     if (unlink(vdagentd_socket) != 0)
         syslog(LOG_ERR, "unlink %s: %s", vdagentd_socket, strerror(errno));
-    syslog(LOG_INFO, "vdagentd quiting, returning status %d", retval);
+    syslog(LOG_INFO, "vdagentd quitting, returning status %d", retval);
 
     if (do_daemonize)
         unlink(pidfilename);
diff --git a/src/vdagentd/virtio-port.c b/src/vdagentd/virtio-port.c
index ef3de90..3dc6f44 100644
--- a/src/vdagentd/virtio-port.c
+++ b/src/vdagentd/virtio-port.c
@@ -334,7 +334,7 @@ static void vdagent_virtio_port_do_chunk(struct vdagent_virtio_port **vportp)
         avail = vport->chunk_header.size - pos;
 
         if (avail > read) {
-            syslog(LOG_ERR, "chunk larger then message, lost sync?");
+            syslog(LOG_ERR, "chunk larger than message, lost sync?");
             vdagent_virtio_port_destroy(vportp);
             return;
         }
-- 
2.11.0


More information about the Spice-devel mailing list