* cygpath.cc (usage): Pass in one more copy of program_name to printf to avoid

a SEGV.
This commit is contained in:
Christopher Faylor 2005-03-06 18:00:03 +00:00
parent 57a64c15da
commit 5f8e4efa67
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-03-06 Christopher Faylor <cgf@timesys.com>
* cygpath.cc (usage): Pass in one more copy of program_name to printf
to avoid a SEGV.
2005-02-27 Christopher Faylor <cgf@timesys.com>
* regtool.cc (opts): The argument to 'K' is not optional.

View File

@ -89,7 +89,7 @@ System information:\n\
-P, --smprograms output Start Menu `Programs' directory and exit\n\
-S, --sysdir output system directory and exit\n\
-W, --windir output `Windows' directory and exit\n\
", prog_name, prog_name);
", prog_name, prog_name, prog_name);
if (ignore_flag)
/* nothing to do */;
else if (stream != stdout)