summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTushar Gohad <tusharsg@gmail.com>2015-06-22 01:20:09 +0000
committerTushar Gohad <tusharsg@gmail.com>2015-06-22 02:54:25 +0000
commit8ecfc72e87295bc7ec1272460f07648d6bcc1dc7 (patch)
treeb98a21d2658799ec68f016a4efc6d31a66db9fe9
parent561296ddc7a51f3cff6110b927be1346c156fb71 (diff)
downloadliberasurecode-8ecfc72e87295bc7ec1272460f07648d6bcc1dc7.tar.gz
Fix get_supported_flags() arguments
-rw-r--r--get_flags_from_cpuid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/get_flags_from_cpuid.c b/get_flags_from_cpuid.c
index 37bd943..20692f3 100644
--- a/get_flags_from_cpuid.c
+++ b/get_flags_from_cpuid.c
@@ -62,7 +62,7 @@ int is_supported(int cpuid_reg, uint64_t comp_flags, int feature_bit)
int main(int argc, char** argv)
{
int feature_eax, feature_ebx, feature_ecx, feature_edx;
- uint64_t supp_comp_flgs = get_supported_flags(argc, argv);
+ uint64_t supp_comp_flgs = get_supported_flags();
FILE *f = fopen("compiler_flags", "w");
__asm__("cpuid"