mirror of https://github.com/BOINC/boinc.git
client: fix build break
This commit is contained in:
parent
542c7be40c
commit
df4232d41e
|
@ -1569,7 +1569,7 @@ inline bool device_idle(time_t t, const char *device) {
|
||||||
return stat(device, &sbuf) || (sbuf.st_atime < t);
|
return stat(device, &sbuf) || (sbuf.st_atime < t);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct dir_dev {
|
static const struct dir_tty_dev {
|
||||||
const char *dir;
|
const char *dir;
|
||||||
const char *dev;
|
const char *dev;
|
||||||
} tty_patterns[] = {
|
} tty_patterns[] = {
|
||||||
|
@ -1629,7 +1629,7 @@ inline bool all_tty_idle(time_t t) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct dir_dev {
|
static const struct dir_input_dev {
|
||||||
const char *dir;
|
const char *dir;
|
||||||
const char *dev;
|
const char *dev;
|
||||||
} input_patterns[] = {
|
} input_patterns[] = {
|
||||||
|
|
Loading…
Reference in New Issue