[Spice-devel] [PATCH 1/3] Fix 'Inalid' typo in error messages

Christophe Fergeau cfergeau at redhat.com
Thu Nov 20 09:08:22 PST 2014


When the server is started with invalid arguments, 'Invalid' is
typo'ed.
---
 usbredirserver/usbredirserver.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/usbredirserver/usbredirserver.c b/usbredirserver/usbredirserver.c
index d2765c6..25682e8 100644
--- a/usbredirserver/usbredirserver.c
+++ b/usbredirserver/usbredirserver.c
@@ -206,14 +206,14 @@ int main(int argc, char *argv[])
         case 'p':
             port = strtol(optarg, &endptr, 10);
             if (*endptr != '\0') {
-                fprintf(stderr, "Inalid value for --port: '%s'\n", optarg);
+                fprintf(stderr, "Invalid value for --port: '%s'\n", optarg);
                 usage(1, argv[0]);
             }
             break;
         case 'v':
             verbose = strtol(optarg, &endptr, 10);
             if (*endptr != '\0') {
-                fprintf(stderr, "Inalid value for --verbose: '%s'\n", optarg);
+                fprintf(stderr, "Invalid value for --verbose: '%s'\n", optarg);
                 usage(1, argv[0]);
             }
             break;
-- 
2.1.0



More information about the Spice-devel mailing list