X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_usr%2Fv3_dvfs.c;h=599d3ea88e044c25a1fee7da2da5f5845fe9b377;hb=366bf119d0307245296101e01bf509afab3eb9f8;hp=edd655ff1b6bc40b07838b273f64a7c817615101;hpb=d3fa9d0b82291fafc35ce9bb7e777256d78c0ecd;p=palacios.git diff --git a/linux_usr/v3_dvfs.c b/linux_usr/v3_dvfs.c index edd655f..599d3ea 100644 --- a/linux_usr/v3_dvfs.c +++ b/linux_usr/v3_dvfs.c @@ -69,7 +69,7 @@ int main(int argc, char *argv[]) return -1; } } else if (!strcasecmp(cmd,"pstate")) { - if (v3_user_dvfs_set_pstate(core,atoi(arg))) { + if (v3_user_dvfs_set_pstate(core,atoll(arg))) { fprintf(stderr,"Failed to set core %u to pstate %d\n",core,atoi(arg)); rc=-1; } else {