summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/ProcessWin32.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-07-01 17:27:42 (GMT)
committerBrad King <brad.king@kitware.com>2003-07-01 17:27:42 (GMT)
commit6b1770932e88c6ebf0c53ff9f5aebcaae8d66af8 (patch)
treede00f8932f4c447489575e2ce5f6a8fd5e42db84 /Source/kwsys/ProcessWin32.c
parent84b6583fca3c3b27f41f86e8c27fe9d804112659 (diff)
downloadCMake-6b1770932e88c6ebf0c53ff9f5aebcaae8d66af8.zip
CMake-6b1770932e88c6ebf0c53ff9f5aebcaae8d66af8.tar.gz
CMake-6b1770932e88c6ebf0c53ff9f5aebcaae8d66af8.tar.bz2
ERR: Should use %p to pass HANDLE values on a command line, not %d.
Diffstat (limited to 'Source/kwsys/ProcessWin32.c')
-rw-r--r--Source/kwsys/ProcessWin32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/ProcessWin32.c b/Source/kwsys/ProcessWin32.c
index 488570b..1fcdacd 100644
--- a/Source/kwsys/ProcessWin32.c
+++ b/Source/kwsys/ProcessWin32.c
@@ -680,7 +680,7 @@ void kwsysProcess_Execute(kwsysProcess* cp)
/* The forwarding executable is given a handle to the error pipe
and a handle to the kill event. */
cp->RealCommand = malloc(strlen(cp->Win9x)+strlen(cp->Command)+100);
- sprintf(cp->RealCommand, "%s %d %d %s", cp->Win9x,
+ sprintf(cp->RealCommand, "%s %p %p %s", cp->Win9x,
cp->Pipe[CMPE_PIPE_ERROR].Write,
cp->Win9xKillEvent, cp->Command);
}