aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index e47836d70..5fd3bfb23 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -14711,7 +14711,7 @@ spawn_forkshell(struct job *jp, struct forkshell *fs, int mode)
14711 intptr_t ret; 14711 intptr_t ret;
14712 14712
14713 new = forkshell_prepare(fs); 14713 new = forkshell_prepare(fs);
14714 sprintf(buf, "%x", (unsigned int)new->hMapFile); 14714 sprintf(buf, "%p", new->hMapFile);
14715 argv[2] = buf; 14715 argv[2] = buf;
14716 ret = mingw_spawn_proc(argv); 14716 ret = mingw_spawn_proc(argv);
14717 CloseHandle(new->hMapFile); 14717 CloseHandle(new->hMapFile);