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

Christophe Fergeau cfergeau at redhat.com
Mon Nov 26 09:08:21 PST 2012


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 1525f1b..7a108c8 100644
--- a/usbredirserver/usbredirserver.c
+++ b/usbredirserver/usbredirserver.c
@@ -202,14 +202,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;
-- 
1.8.0



More information about the Spice-devel mailing list