Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Humblet <phumblet@phumblet.no-ip.org>2009-01-06 07:11:23 +0300
committerPierre Humblet <phumblet@phumblet.no-ip.org>2009-01-06 07:11:23 +0300
commit952801c27e33255f3a71d84d38281c1bb42600f2 (patch)
tree16decc370d65798fcab2dc8ae8f38d13146471a3 /winsup/utils/cygcheck.cc
parent8ca367408d4687b6221adaa4c916ca4375242ea8 (diff)
* cygcheck.cc (dump_sysinfo_services): Quote the path for popen.
Diffstat (limited to 'winsup/utils/cygcheck.cc')
-rw-r--r--winsup/utils/cygcheck.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/utils/cygcheck.cc b/winsup/utils/cygcheck.cc
index b4b16dec9..42ce64e29 100644
--- a/winsup/utils/cygcheck.cc
+++ b/winsup/utils/cygcheck.cc
@@ -1137,7 +1137,7 @@ dump_sysinfo_services ()
/* For verbose mode, just run cygrunsrv --list --verbose and copy output
verbatim; otherwise run cygrunsrv --list and then cygrunsrv --query for
each service. */
- snprintf (buf, sizeof (buf), (verbose ? "\"%s\" --list --verbose" : "%s --list"),
+ snprintf (buf, sizeof (buf), (verbose ? "\"%s\" --list --verbose" : "\"%s\" --list"),
cygrunsrv);
if ((f = popen (buf, "rt")) == NULL)
{