summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_proc.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2006-01-10 16:49:28 +0000
committerChristopher Faylor <me@cgf.cx>2006-01-10 16:49:28 +0000
commit23de77b72babc03ab1d8a3283ccfb8cf0c042a1c (patch)
tree1f0ae2716b62a7173c027a47e84c3a8efc499173 /winsup/cygwin/fhandler_proc.cc
parent4c8650efd878134a8937ff500730c1db723be99f (diff)
downloadcygnal-23de77b72babc03ab1d8a3283ccfb8cf0c042a1c.tar.gz
cygnal-23de77b72babc03ab1d8a3283ccfb8cf0c042a1c.tar.bz2
cygnal-23de77b72babc03ab1d8a3283ccfb8cf0c042a1c.zip
* fhandler_proc.cc (format_proc_cpuinfo): Avoid leading whitespace in model
name.
Diffstat (limited to 'winsup/cygwin/fhandler_proc.cc')
-rw-r--r--winsup/cygwin/fhandler_proc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc
index 996444a66..394f42e25 100644
--- a/winsup/cygwin/fhandler_proc.cc
+++ b/winsup/cygwin/fhandler_proc.cc
@@ -793,7 +793,7 @@ format_proc_cpuinfo (char *destbuf, size_t maxsize)
type_str,
family,
model,
- szBuffer,
+ szBuffer + strspn (szBuffer, " "),
stepping,
brand_id,
cpu_count,