X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Fp9y%2Fgetopt.c;h=6d0fe62a87f449dfc6202102414ced4d3ead20b4;hb=fe2201f42134ac811614d74f1d79a1a47d4f1317;hp=40434941454d0999fde0a9335cd879424dbc5c76;hpb=2f289c64f625962d945ec3bee80f36bc5c61ee35;p=awesomized%2Flibmemcached diff --git a/src/p9y/getopt.c b/src/p9y/getopt.c index 40434941..6d0fe62a 100644 --- a/src/p9y/getopt.c +++ b/src/p9y/getopt.c @@ -110,7 +110,7 @@ char *optarg; /* argument associated with option */ #define INORDER (int)1 #ifndef __CYGWIN__ -#define __progname __argv[0] +#define progname __argv[0] #else extern char __declspec(dllimport) *__progname; #endif @@ -145,7 +145,7 @@ static const char illoptstring[] = "unknown option -- %s"; static void _vwarnx(const char *fmt,va_list ap) { - (void)fprintf(stderr,"%s: ",__progname); + (void)fprintf(stderr,"%s: ", progname); if (fmt != NULL) (void)vfprintf(stderr,fmt,ap); (void)fprintf(stderr,"\n");