Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/fdt earlyconsgetc: return -1 instead of 0 be...
details: https://anonhg.NetBSD.org/src/rev/b9c683299b59
branches: trunk
changeset: 960435:b9c683299b59
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Fri Mar 19 10:23:34 2021 +0000
description:
earlyconsgetc: return -1 instead of 0 because we will never produce input
diffstat:
sys/arch/evbarm/fdt/fdt_machdep.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 6b1d8615cc1c -r b9c683299b59 sys/arch/evbarm/fdt/fdt_machdep.c
--- a/sys/arch/evbarm/fdt/fdt_machdep.c Fri Mar 19 08:23:39 2021 +0000
+++ b/sys/arch/evbarm/fdt/fdt_machdep.c Fri Mar 19 10:23:34 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fdt_machdep.c,v 1.86 2020/12/18 07:37:21 skrll Exp $ */
+/* $NetBSD: fdt_machdep.c,v 1.87 2021/03/19 10:23:34 jmcneill Exp $ */
/*-
* Copyright (c) 2015-2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fdt_machdep.c,v 1.86 2020/12/18 07:37:21 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fdt_machdep.c,v 1.87 2021/03/19 10:23:34 jmcneill Exp $");
#include "opt_arm_debug.h"
#include "opt_bootconfig.h"
@@ -157,7 +157,7 @@
static int
earlyconsgetc(dev_t dev)
{
- return 0;
+ return -1;
}
static struct consdev earlycons = {
Home |
Main Index |
Thread Index |
Old Index