From 8ecfc72e87295bc7ec1272460f07648d6bcc1dc7 Mon Sep 17 00:00:00 2001 From: Tushar Gohad Date: Mon, 22 Jun 2015 01:20:09 +0000 Subject: Fix get_supported_flags() arguments --- get_flags_from_cpuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.1