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

Christophe Fergeau cfergeau at redhat.com
Fri Apr 26 10:24:57 PDT 2013


Hey,

I just realized this has never been reviewed/pushed :)

Christophe

On Mon, Nov 26, 2012 at 06:08:21PM +0100, Christophe Fergeau wrote:
> 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
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20130426/ac823e41/attachment.pgp>


More information about the Spice-devel mailing list