openfirmware: Make realtime clock init non-fatal

The realtime clock is used only to seed the random number generator for
picking a random TCP port. This is not very important, so there's no
reason to completely fail when it doesn't work.

Change-Id: I50123433153c16595118fdf923f4b707e2c98fdd
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3568
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
PulkoMandy 2020-12-30 19:02:51 +01:00 committed by waddlesplash
parent 9a8463437d
commit 89806d4075

View File

@ -126,8 +126,7 @@ start(void *openFirmwareEntry)
if (boot_arch_cpu_init() != B_OK)
of_exit();
if (init_real_time_clock() != B_OK)
of_exit();
init_real_time_clock();
// check for key presses once
sBootOptions = 0;