OSDN Git Service

* cygpath.cc (usage): Pass in one more copy of program_name to printf to avoid
authorcgf <cgf>
Sun, 6 Mar 2005 18:00:02 +0000 (18:00 +0000)
committercgf <cgf>
Sun, 6 Mar 2005 18:00:02 +0000 (18:00 +0000)
a SEGV.

winsup/utils/ChangeLog
winsup/utils/cygpath.cc

index 31bf8ec..51f34cd 100644 (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.
index 782ac50..6410859 100644 (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)