diff options
author | Christopher Faylor <me@cgf.cx> | 2003-04-19 01:03:16 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-04-19 01:03:16 +0000 |
commit | 4e0d877875e441eab6b58903fbc982f6961e3aa9 (patch) | |
tree | 0e7a32b0ffaca40d8b39a70fa762678f6d29d20f /winsup/cygwin/fhandler_proc.cc | |
parent | b128dd21af09a966adf260f2465edefa618fdcfd (diff) | |
download | cygnal-4e0d877875e441eab6b58903fbc982f6961e3aa9.tar.gz cygnal-4e0d877875e441eab6b58903fbc982f6961e3aa9.tar.bz2 cygnal-4e0d877875e441eab6b58903fbc982f6961e3aa9.zip |
* Makefile.in: Use ${nostdlib} variable.
* fhandler_proc.cc (format_proc_cpuinfo): Change /proc/cpuinfo "vendor id"
string to "vendor_id" to conform with Linux systems.
Diffstat (limited to 'winsup/cygwin/fhandler_proc.cc')
-rw-r--r-- | winsup/cygwin/fhandler_proc.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc index 28fe87948..a6f759d2e 100644 --- a/winsup/cygwin/fhandler_proc.cc +++ b/winsup/cygwin/fhandler_proc.cc @@ -606,7 +606,7 @@ format_proc_cpuinfo (char *destbuf, size_t maxsize) { bufptr += __small_sprintf (bufptr, "processor : %d\n", cpu_number); read_value ("VendorIdentifier", REG_SZ); - bufptr += __small_sprintf (bufptr, "vendor id : %s\n", szBuffer); + bufptr += __small_sprintf (bufptr, "vendor_id : %s\n", szBuffer); read_value ("Identifier", REG_SZ); bufptr += __small_sprintf (bufptr, "identifier : %s\n", szBuffer); if (wincap.is_winnt ()) @@ -640,7 +640,7 @@ format_proc_cpuinfo (char *destbuf, size_t maxsize) cpuid (&maxf, &vendor_id[0], &vendor_id[2], &vendor_id[1], 0); maxf &= 0xffff; vendor_id[3] = 0; - bufptr += __small_sprintf (bufptr, "vendor id : %s\n", (char *)vendor_id); + bufptr += __small_sprintf (bufptr, "vendor_id : %s\n", (char *)vendor_id); unsigned cpu_mhz = 0; if (wincap.is_winnt ()) { |