From bbaa01a8c91c07b80e10b211de45da6d39d3ba4f Mon Sep 17 00:00:00 2001 From: kn Date: Fri, 31 Mar 2023 12:07:54 +0000 Subject: [PATCH] Flip label separators to fix previous -gpiokeys0 at mainbus0, "PWR Button" +gpiokeys0 at mainbus0: "PWR Button" OK patrick --- sys/dev/fdt/gpiokeys.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/fdt/gpiokeys.c b/sys/dev/fdt/gpiokeys.c index 5a5ae22a1c0..041c75e1704 100644 --- a/sys/dev/fdt/gpiokeys.c +++ b/sys/dev/fdt/gpiokeys.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gpiokeys.c,v 1.2 2022/11/07 20:28:23 patrick Exp $ */ +/* $OpenBSD: gpiokeys.c,v 1.3 2023/03/31 12:07:54 kn Exp $ */ /* * Copyright (c) 2021 Klemens Nanni * @@ -140,7 +140,7 @@ gpiokeys_attach(struct device *parent, struct device *self, void *aux) } if (label) { - printf("%s \"%s\"", have_labels ? ":" : ",", label); + printf("%s \"%s\"", have_labels ? "," : ":", label); free(label, M_TEMP, len); have_labels = 1; } -- 2.20.1