Fixes vendor_id
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 31 Jan 2014 21:22:38 +0000 (13:22 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 31 Jan 2014 21:22:38 +0000 (13:22 -0800)
Need to return something, compiler warning.

kern/arch/x86/cpuinfo.c

index 07baf60..904f2fb 100644 (file)
@@ -230,4 +230,5 @@ int vendor_id(char *vid)
                 : "%ebx", "%ecx", "%edx");
 
        vid[12] = '\0';
+       return 0;
 }