From 3a551b58b2ea42c97987121716bda86dc44e459a Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 5 Feb 2017 10:13:43 +0000 Subject: [PATCH] Be a bit nicer to outdated compilers and use __unreachable(). --- sys/arch/i386/stand/efiboot/panic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/i386/stand/efiboot/panic.c b/sys/arch/i386/stand/efiboot/panic.c index 2c7f6fa12272..b8ed2150e824 100644 --- a/sys/arch/i386/stand/efiboot/panic.c +++ b/sys/arch/i386/stand/efiboot/panic.c @@ -1,4 +1,4 @@ -/* $NetBSD: panic.c,v 1.2 2017/02/04 13:36:07 roy Exp $ */ +/* $NetBSD: panic.c,v 1.3 2017/02/05 10:13:43 joerg Exp $ */ /*- * Copyright (c) 2016 Kimihiro Nonaka @@ -47,7 +47,7 @@ Panic( va_end(args); reboot(); /*NOTREACHED*/ - __builtin_unreachable(); + __unreachable(); } __dead void