Removed rtc_set_system_time() but forgot to change internal calls to

set_real_time_clock().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5184 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2003-10-28 13:12:13 +00:00
parent 41fc24055a
commit cc9992caa1
+2 -2
View File
@@ -35,7 +35,7 @@ rtc_hw_to_system(void)
uint32 current_time; uint32 current_time;
current_time = arch_rtc_get_hw_time(); current_time = arch_rtc_get_hw_time();
rtc_set_system_time(current_time); set_real_time_clock(current_time);
} }
@@ -66,7 +66,7 @@ rtc_debug(int argc, char **argv)
rtc_print(); rtc_print();
} else { } else {
// If there was an argument, reset the system and hw time. // If there was an argument, reset the system and hw time.
rtc_set_system_time(strtoul(argv[1], NULL, 10)); set_real_time_clock(strtoul(argv[1], NULL, 10));
rtc_system_to_hw(); rtc_system_to_hw();
} }