Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/stand/efiboot Be a bit nicer to outdated compi...
details: https://anonhg.NetBSD.org/src/rev/782cda06335d
branches: trunk
changeset: 821439:782cda06335d
user: joerg <joerg%NetBSD.org@localhost>
date: Sun Feb 05 10:13:43 2017 +0000
description:
Be a bit nicer to outdated compilers and use __unreachable().
diffstat:
sys/arch/i386/stand/efiboot/panic.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 5dba45ae6cce -r 782cda06335d sys/arch/i386/stand/efiboot/panic.c
--- a/sys/arch/i386/stand/efiboot/panic.c Sun Feb 05 10:13:18 2017 +0000
+++ b/sys/arch/i386/stand/efiboot/panic.c Sun Feb 05 10:13:43 2017 +0000
@@ -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 <nonaka%netbsd.org@localhost>
@@ -47,7 +47,7 @@
va_end(args);
reboot();
/*NOTREACHED*/
- __builtin_unreachable();
+ __unreachable();
}
__dead void
Home |
Main Index |
Thread Index |
Old Index