diff options
-rw-r--r-- | util-linux/hwclock.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/util-linux/hwclock.c b/util-linux/hwclock.c index 4c59ef055..6f3411a38 100644 --- a/util-linux/hwclock.c +++ b/util-linux/hwclock.c | |||
@@ -171,7 +171,7 @@ int from_sys_clock ( int utc ) | |||
171 | int check_utc ( void ) | 171 | int check_utc ( void ) |
172 | { | 172 | { |
173 | int utc = 0; | 173 | int utc = 0; |
174 | FILE *f = fopen ( "/etc/adjtime", "r" ); | 174 | FILE *f = fopen ( "/var/lib/hwclock/adjtime", "r" ); |
175 | 175 | ||
176 | if ( f ) { | 176 | if ( f ) { |
177 | char buffer [128]; | 177 | char buffer [128]; |
@@ -254,5 +254,3 @@ extern int hwclock_main ( int argc, char **argv ) | |||
254 | return show_clock ( utc ); | 254 | return show_clock ( utc ); |
255 | } | 255 | } |
256 | } | 256 | } |
257 | |||
258 | |||