public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] format_proc_cpuinfo: fix microcode revision shift direction
@ 2020-07-09 7:55 Corinna Vinschen
0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2020-07-09 7:55 UTC (permalink / raw)
To: cygwin-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=7b2c7fca04e4bee7a5d3ad09ed6e31bc605dfc0f
commit 7b2c7fca04e4bee7a5d3ad09ed6e31bc605dfc0f
Author: Brian Inglis <Brian.Inglis@SystematicSW.ab.ca>
Date: Tue Jul 7 13:00:37 2020 -0600
format_proc_cpuinfo: fix microcode revision shift direction
Diff:
---
winsup/cygwin/fhandler_proc.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc
index f637dfd8e..2396bfe57 100644
--- a/winsup/cygwin/fhandler_proc.cc
+++ b/winsup/cygwin/fhandler_proc.cc
@@ -735,7 +735,7 @@ format_proc_cpuinfo (void *, char *&destbuf)
memcpy (µcode, uc[uci].uc_microcode, sizeof (microcode));
if (!(microcode & 0xFFFFFFFFLL)) /* some values in high bits */
- microcode <<= 32; /* shift them down */
+ microcode >>= 32; /* shift them down */
}
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-07-09 7:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-09 7:55 [newlib-cygwin] format_proc_cpuinfo: fix microcode revision shift direction Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).