diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2019-01-07 03:41:07 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2019-01-07 03:41:07 +0000 |
commit | ce2f1a9cf17d0cc86875750878ae691ecbc03da7 (patch) | |
tree | 44358d5bd15de411fb24d41d6b89ab2b810a0105 /sys/dev/fdt/ohci_fdt.c | |
parent | 99a5fa2ebaccf70827ccc91a391241fa55d56b7f (diff) |
tweak ohci_checkrev so it doesnt print a leading comma and space.
it assumes that it always followed an interrupt string, but we don't
print that on fdt. having the bus responsible for the whitespace
means the fdt glue can print a colon to separate the bus info from
checkrev output, while every other glue keeps the comma.
ok deraadt@
Diffstat (limited to 'sys/dev/fdt/ohci_fdt.c')
-rw-r--r-- | sys/dev/fdt/ohci_fdt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fdt/ohci_fdt.c b/sys/dev/fdt/ohci_fdt.c index 12550f199f4..4f3c0ae683b 100644 --- a/sys/dev/fdt/ohci_fdt.c +++ b/sys/dev/fdt/ohci_fdt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ohci_fdt.c,v 1.1 2019/01/04 23:55:29 dlg Exp $ */ +/* $OpenBSD: ohci_fdt.c,v 1.2 2019/01/07 03:41:06 dlg Exp $ */ /* * Copyright (c) 2005, 2019 David Gwynne <dlg@openbsd.org> @@ -117,7 +117,7 @@ ohci_fdt_attach(struct device *parent, struct device *self, void *aux) printf(": can't establish interrupt\n"); goto disable_clocks; } - printf(": fdt"); + printf(": "); strlcpy(sc->sc.sc_vendor, "Generic", sizeof(sc->sc.sc_vendor)); |