[gnome-remote-desktop/cherry-pick-234b6090] ctl: Fix error messages




commit 6d4f00aa8464b27e7fa9ee637ce9e6b7db3b96e9
Author: Jonas Ådahl <jadahl gmail com>
Date:   Tue Jun 21 16:03:42 2022 +0200

    ctl: Fix error messages
    
    A couple were missing newlines, and one said RDP but was about VNC.
    
    
    (cherry picked from commit 234b609043cbf8530438f7e95b14f2a27fb154f1)

 src/grd-ctl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/grd-ctl.c b/src/grd-ctl.c
index f641fb7e..26d0faf5 100644
--- a/src/grd-ctl.c
+++ b/src/grd-ctl.c
@@ -504,7 +504,7 @@ print_rdp_status (gboolean use_colors,
                                                     NULL);
   if (error)
     {
-      fprintf (stderr, "Failed to lookup RDP credentials: %s", error->message);
+      fprintf (stderr, "Failed to lookup RDP credentials: %s\n", error->message);
       return;
     }
 
@@ -560,7 +560,7 @@ print_vnc_status (gboolean use_colors,
                                           NULL);
   if (error)
     {
-      fprintf (stderr, "Failed to lookup RDP credentials: %s", error->message);
+      fprintf (stderr, "Failed to lookup VNC credentials: %s\n", error->message);
       return;
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]