forked from enlightenment/enlightenment
Make sure to define the variable type so we do not get 'Undefined Variable'
errors when building for *BSD. Thanks _alexey_ :) SVN revision: 27487
This commit is contained in:
parent
38849cb682
commit
348ec15b3f
|
@ -32,7 +32,7 @@ main(int argc, char *argv[])
|
|||
#ifdef __FreeBSD__
|
||||
if (!strcmp(argv[1], "frequency"))
|
||||
{
|
||||
new_frequency = atoi(argv[2]);
|
||||
int new_frequency = atoi(argv[2]);
|
||||
int len = 4;
|
||||
if (sysctlbyname("dev.cpu.0.freq", NULL, 0, &new_frequency, &len) == -1)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue