aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/efidev/efirtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/efidev/efirtc.c')
-rw-r--r--sys/dev/efidev/efirtc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/efidev/efirtc.c b/sys/dev/efidev/efirtc.c
index b9e06bcc362e..e5a2ec262bf5 100644
--- a/sys/dev/efidev/efirtc.c
+++ b/sys/dev/efidev/efirtc.c
@@ -74,7 +74,8 @@ efirtc_probe(device_t dev)
*/
if ((error = efi_get_time(&tm)) != 0) {
if (bootverbose)
- device_printf(dev, "cannot read EFI realtime clock\n");
+ device_printf(dev, "cannot read EFI realtime clock, "
+ "error %d\n", error);
return (error);
}
device_set_desc(dev, "EFI Realtime Clock");