summaryrefslogtreecommitdiff
path: root/util-linux/hwclock.c
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/hwclock.c')
-rw-r--r--util-linux/hwclock.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/util-linux/hwclock.c b/util-linux/hwclock.c
index 4c59ef0..6f3411a 100644
--- a/util-linux/hwclock.c
+++ b/util-linux/hwclock.c
@@ -171,7 +171,7 @@ int from_sys_clock ( int utc )
int check_utc ( void )
{
int utc = 0;
- FILE *f = fopen ( "/etc/adjtime", "r" );
+ FILE *f = fopen ( "/var/lib/hwclock/adjtime", "r" );
if ( f ) {
char buffer [128];
@@ -254,5 +254,3 @@ extern int hwclock_main ( int argc, char **argv )
return show_clock ( utc );
}
}
-
-