Fix compile warning in utils.c
This commit is contained in:
parent
256d7e723c
commit
0fa04772ab
1 changed files with 1 additions and 1 deletions
|
@ -316,7 +316,7 @@ static void __init get_psched_settings(void)
|
|||
uint32_t tick, us;
|
||||
/* the file contains 4 hexadecimals, but we just use
|
||||
the first two of them */
|
||||
int r = fscanf(fd, "%08x %08x", &tick, &us);
|
||||
fscanf(fd, "%08x %08x", &tick, &us);
|
||||
ticks_per_usec = (double)tick/(double)us;
|
||||
fclose(fd);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue