configure: make default hwclockfile configurable

This commit is contained in:
Miroslav Lichvar
2015-10-08 10:44:23 +02:00
parent 00a6394b48
commit 32f8bec92d
4 changed files with 15 additions and 5 deletions

View File

@@ -382,7 +382,7 @@ read_hwclock_file(const char *hwclock_file)
char line[256];
int i;
if (!hwclock_file)
if (!hwclock_file || !hwclock_file[0])
return;
in = fopen(hwclock_file, "r");