From 5f8e4efa678ccb7b699a04f980b2a60e776c90da Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 6 Mar 2005 18:00:03 +0000 Subject: [PATCH] * cygpath.cc (usage): Pass in one more copy of program_name to printf to avoid a SEGV. --- winsup/utils/ChangeLog | 5 +++++ winsup/utils/cygpath.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog index 31bf8ecbc..51f34cd6d 100644 --- a/winsup/utils/ChangeLog +++ b/winsup/utils/ChangeLog @@ -1,3 +1,8 @@ +2005-03-06 Christopher Faylor + + * cygpath.cc (usage): Pass in one more copy of program_name to printf + to avoid a SEGV. + 2005-02-27 Christopher Faylor * regtool.cc (opts): The argument to 'K' is not optional. 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)