summaryrefslogtreecommitdiff
path: root/src/hwfeatures.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2009-11-29 12:30:21 +0000
committerWerner Koch <wk@gnupg.org>2009-11-29 12:30:21 +0000
commitff9ba101831234f3877e1b44eeab3c048e660828 (patch)
tree4b2865dc49ffdc32defbedd29ea93f8621ba736c /src/hwfeatures.c
parent9dc49828e33b45b3f9dcc2b4d6e03eab41341bc6 (diff)
downloadlibgcrypt-ff9ba101831234f3877e1b44eeab3c048e660828.tar.gz
Fix detection of cpuid statement.
Diffstat (limited to 'src/hwfeatures.c')
-rw-r--r--src/hwfeatures.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hwfeatures.c b/src/hwfeatures.c
index 2621305b..97442dba 100644
--- a/src/hwfeatures.c
+++ b/src/hwfeatures.c
@@ -67,7 +67,7 @@ detect_ia32_gnuc (void)
"jz .Lno_cpuid%=\n\t" /* Toggling did not work, thus no CPUID. */
"movl $1, %0\n" /* Worked. true -> HAS_CPUID. */
".Lno_cpuid%=:\n\t"
- : "=r" (has_cpuid)
+ : "+r" (has_cpuid)
:
: "%eax", "%ecx", "cc"
);