Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-03-06 21:00:03 +0300
committerChristopher Faylor <me@cgf.cx>2005-03-06 21:00:03 +0300
commit5f8e4efa678ccb7b699a04f980b2a60e776c90da (patch)
treebacb72096a12318fe6aaad1415566e88694b01b3 /winsup/utils/cygpath.cc
parent57a64c15da30be80bb7c9cec0f040fa720cd60f4 (diff)
* cygpath.cc (usage): Pass in one more copy of program_name to printf to avoid
a SEGV.
Diffstat (limited to 'winsup/utils/cygpath.cc')
-rw-r--r--winsup/utils/cygpath.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/utils/cygpath.cc b/winsup/utils/cygpath.cc
index 782ac50bd..641085925 100644
--- a/winsup/utils/cygpath.cc
+++ b/winsup/utils/cygpath.cc
@@ -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)