]> git.ozlabs.org Git - ccan/commitdiff
cpuid: fix example compilation
authorAhmed Samy <f.fallen45@gmail.com>
Sun, 1 Dec 2013 11:52:03 +0000 (13:52 +0200)
committerAhmed Samy <f.fallen45@gmail.com>
Sun, 1 Dec 2013 11:53:35 +0000 (13:53 +0200)
Signed-off-by: Ahmed Samy <f.fallen45@gmail.com>
ccan/cpuid/_info

index 569dc21cd2885061fc7ef46369068db4889c73e1..79a98c0a236dfc2ad98010a01afb4bcb9726f74c 100644 (file)
@@ -13,8 +13,8 @@
  * int main(void)
  * {
  *     uint32_t highest;
  * int main(void)
  * {
  *     uint32_t highest;
- *     cpuid(CPU_HIGHEST_EXTENDED_FUNCTION_SUPPORTED, &highest);
- *     printf ("Highest extended function supported: %d\n", highest);
+ *     cpuid(CPUID_HIGHEST_EXTENDED_FUNCTION_SUPPORTED, &highest);
+ *     printf("Highest extended function supported: %d\n", highest);
  *
  *      return 0;
  * }
  *
  *      return 0;
  * }