diff options
Diffstat (limited to 'winsup/cygwin/spawn.cc')
-rw-r--r-- | winsup/cygwin/spawn.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc index 0a94282f0..485d2c44b 100644 --- a/winsup/cygwin/spawn.cc +++ b/winsup/cygwin/spawn.cc @@ -482,7 +482,7 @@ spawn_guts (const char *prog_arg, const char *const *argv, { PWCHAR r = runpath + 4; if (r[1] != L':') /* UNC path */ - r += 2; + *(r += 2) = L'\\'; runpath = r; } } |