summaryrefslogtreecommitdiff
path: root/api/api.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-10-22 14:36:47 -0400
committerTom Rini <trini@konsulko.com>2020-10-22 14:36:47 -0400
commitae4fdd7b0432bcb0bc2fe7d90b6d3e92001ab478 (patch)
treee933e67609989d0e4960f1464384e9ff40732b30 /api/api.c
parentb90daf2743b38022bea8727ede867ad63e971db2 (diff)
parentdddfde5401ed5ad82c996b35b61dc4a45bb4e2b3 (diff)
Merge branch '2020-10-22-misc-changes'
- Assorted updates for Xen, IPQ40xx, ASpeed, Keymile - Assorted typo / documentation fixes - Fix default preboot cmd to act like before with USB_STORAGE set - A number of other bugfixes throughout the code
Diffstat (limited to 'api/api.c')
-rw-r--r--api/api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/api.c b/api/api.c
index c7f5db776af..493b77f8094 100644
--- a/api/api.c
+++ b/api/api.c
@@ -57,7 +57,7 @@ static int API_getc(va_list ap)
if ((c = (int *)va_arg(ap, uintptr_t)) == NULL)
return API_EINVAL;
- *c = getc();
+ *c = getchar();
return 0;
}