]> mj.ucw.cz Git - libucw.git/commitdiff
Opt: Fixed a couple of randomly found typos
authorMartin Mares <mj@ucw.cz>
Sun, 28 Apr 2013 21:42:35 +0000 (23:42 +0200)
committerMartin Mares <mj@ucw.cz>
Sun, 28 Apr 2013 21:42:35 +0000 (23:42 +0200)
ucw/opt.c

index 92c7a7372c851db809beccfd7f050cd3e05f0c8e..0ae40a905284022cc637ed6d546b0aed6d621ccd 100644 (file)
--- a/ucw/opt.c
+++ b/ucw/opt.c
@@ -112,7 +112,7 @@ static struct opt_item * opt_find_item_longopt_section(char * str, struct opt_se
       struct opt_item * out = opt_find_item_longopt_section(str, item->u.section);
       if (out) {
        if (candidate)
-         opt_failure("Ambiguos prefix %s: Found matching %s and %s.\n", str, candidate->name, item->name);
+         opt_failure("Ambiguous prefix %s: Found matching %s and %s.\n", str, candidate->name, item->name);
        else
          candidate = out;
       }
@@ -121,7 +121,7 @@ static struct opt_item * opt_find_item_longopt_section(char * str, struct opt_se
        return item;
 
       if (candidate)
-       opt_failure("Ambiguos prefix %s: Found matching %s and %s.\n", str, candidate->name, item->name);
+       opt_failure("Ambiguous prefix %s: Found matching %s and %s.\n", str, candidate->name, item->name);
       else
        candidate = item;
     }