X-Git-Url: http://git.asbjorn.biz/?p=debian%2Fdhcpd-pools.git;a=blobdiff_plain;f=src%2Fgetopt.c;fp=src%2Fgetopt.c;h=9f01d83eab83b68ca9145cff9ed69f043aea40c0;hp=697169c231a6bd6de9cd396f512004ff1ef9a971;hb=171ff1d7045de1059556f674470aa87a853563f0;hpb=17429ef85bfb4bdf51f4a659443fe4c31c972928 diff --git a/src/getopt.c b/src/getopt.c index 697169c..9f01d83 100644 --- a/src/getopt.c +++ b/src/getopt.c @@ -700,7 +700,8 @@ int long_only; _ ("%s: option `--%s' doesn't allow an argument\n"), argv[0], - pfound->name); + pfound-> + name); else /* +option or -option */ fprintf(stderr, @@ -710,7 +711,8 @@ int long_only; argv[optind - 1][0], - pfound->name); + pfound-> + name); } nextchar += strlen(nextchar); @@ -884,7 +886,8 @@ int long_only; else { if (print_errors) fprintf(stderr, _("\ -%s: option `-W %s' doesn't allow an argument\n"), argv[0], pfound->name); +%s: option `-W %s' doesn't allow an argument\n"), argv[0], pfound-> + name); nextchar += strlen(nextchar);