Module Name: src
Committed By: jmcneill
Date: Fri Mar 19 10:23:34 UTC 2021
Modified Files:
src/sys/arch/evbarm/fdt: fdt_machdep.c
Log Message:
earlyconsgetc: return -1 instead of 0 because we will never produce input
To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/sys/arch/evbarm/fdt/fdt_machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/evbarm/fdt/fdt_machdep.c
diff -u src/sys/arch/evbarm/fdt/fdt_machdep.c:1.86 src/sys/arch/evbarm/fdt/fdt_machdep.c:1.87
--- src/sys/arch/evbarm/fdt/fdt_machdep.c:1.86 Fri Dec 18 07:37:21 2020
+++ src/sys/arch/evbarm/fdt/fdt_machdep.c Fri Mar 19 10:23:34 2021
@@ -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 <[email protected]>
@@ -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 @@ earlyconsputc(dev_t dev, int c)
static int
earlyconsgetc(dev_t dev)
{
- return 0;
+ return -1;
}
static struct consdev earlycons = {